Replace custom i18n function in committers settings

Missed in #8679. See also #8681
pull/9176/head
Matthew Trescott 4 years ago committed by Oliver Günther
parent aeed35fdab
commit 1af65d3b6c
  1. 2
      app/views/repositories/committers.html.erb

@ -68,7 +68,7 @@ See docs/COPYRIGHT.rdoc for more details.
<td><%=h committer %></td>
<td>
<%= hidden_field_tag "committers[#{i}][]", committer %>
<%= select_tag "committers[#{i}][]", content_tag('option', "-- #{l :actionview_instancetag_blank_option} --", value: '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>
<%= select_tag "committers[#{i}][]", content_tag('option', "-- #{t(:actionview_instancetag_blank_option)} --", value: '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>
</td>
</tr>
<% i += 1 -%>

Loading…
Cancel
Save