Fixed that locking and unlocking a user resets the email notification checkbox (#14020).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11839 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2013-05-13 16:38:08 +00:00
1 parent 0dce4761a8
commit 10ed306b19
8 files changed
+25 -12

No files matched your search

+5 -4
View File
@@ -19,9 +19,10 @@
end %>
<p><em class="info"><%= l(:text_user_mail_option) %></em></p>
<% end %>
<%= fields_for :pref, @user.pref do |pref_fields| %>
<p>
<label>
<%= l(:label_user_mail_no_self_notified) %>
<%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %>
</label>
<%= pref_fields.check_box :no_self_notified %>
<label for="pref_no_self_notified"><%= l(:label_user_mail_no_self_notified) %></label>
</p>
<% end %>