diff --git a/app/views/messages/_form.html.erb b/app/views/messages/_form.html.erb index 847de5d878..66b50b7190 100644 --- a/app/views/messages/_form.html.erb +++ b/app/views/messages/_form.html.erb @@ -31,12 +31,14 @@ See doc/COPYRIGHT.rdoc for more details.
<%= f.text_field :subject, required: true %>
-
- <%= f.check_box :sticky, label: l(:label_board_sticky) %> -
-
- <%= f.check_box :locked, label: l(:label_board_locked) %> -
+<% unless replying %> +
+ <%= f.check_box :sticky, label: l(:label_board_sticky) %> +
+
+ <%= f.check_box :locked, label: l(:label_board_locked) %> +
+<% end %> <% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %>
<%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]}, label: Board.name.humanize %>