browsermedia/browsercms — pull request #543 by josiahivey (2012-08-20 21:13:21+00:00)
Title: File field label should use method as fall back

If no label text is given, this change makes cms_file_field use the method name instead of 'data'.

`<%= f.cms_file_field :image, :label => "Something" %>` will display "Something".

`<%= f.cms_file_field :image %>` will display "Image".

This behavior is consistent with the other cms fields (and Rails.)