Use correct labels

pull/7775/head
Henriette Dinger 5 years ago
parent 9b16d018f9
commit 5fe5da1d88
  1. 4
      app/views/messages/_form.html.erb

@ -40,10 +40,10 @@ See docs/COPYRIGHT.rdoc for more details.
</div> </div>
<% unless replying %> <% unless replying %>
<div class="form--field"> <div class="form--field">
<%= f.check_box :sticky, label: t(:label_board_sticky) %> <%= f.check_box :sticky, label: I18n.t('js.label_board_sticky') %>
</div> </div>
<div class="form--field"> <div class="form--field">
<%= f.check_box :locked, label: t(:label_board_locked) %> <%= f.check_box :locked, label: I18n.t('js.label_board_locked') %>
</div> </div>
<% end %> <% end %>
<% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %> <% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %>

Loading…
Cancel
Save