Merge pull request #4954 from opf/fix/24098/type-label-translation

[24098] Fix translation of type attribute label
pull/4956/head
Oliver Günther 8 years ago committed by GitHub
commit 0f3b6cc055
  1. 8
      app/views/types/_form.html.erb

@ -84,10 +84,10 @@ See doc/COPYRIGHT.rdoc for more details.
<% attr = attributes[name] %>
<tr>
<td>
<%= label "type_attribute_visibility_#{name}",
translated_attribute_name(name, attr),
value: "type_attribute_visibility[#{name}]",
class: 'form--label' %>
<%= label_tag "type_attribute_visibility_#{name}",
translated_attribute_name(name, attr),
value: "type_attribute_visibility[#{name}]",
class: 'form--label' %>
</td>
<td>
<input name="<%= "type[attribute_visibility][#{name}]" %>" type="hidden" value="hidden" />

Loading…
Cancel
Save