There was an error while loading. Please reload this page.
2 parents cd8b953 + c108b1a commit 87f75b5Copy full SHA for 87f75b5
app/views/cms/form_builder/_cms_file_field.html.erb
@@ -10,7 +10,7 @@
10
<% if a.object.attachment_name == method.to_s %>
11
<%= a.hidden_field :attachment_name, :value => method.to_s %>
12
<div class="fields file_fields">
13
- <%= a.cms_label :data, cms_options[:label] %>
+ <%= a.cms_label method, cms_options[:label] %>
14
<div id="<%= object_name %>_<%= method %>_div" class="file_inputs">
15
<%= a.file_field :data, options.merge('data-purpose'=>"cms_file_field") %>
16
</div>
0 commit comments