Move checkbox for "Send account information to the user" to be clicked before the "Create" button (#4193).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3037 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-11-13 18:11:10 +00:00
1 parent 28f0b5ce4a
commit 8c769c546f
3 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -1,7 +1,7 @@
<h2><%= link_to l(:label_user_plural), :controller => 'users', :action => 'index' %> &#187; <%=l(:label_user_new)%></h2>
<% labelled_tabular_form_for :user, @user, :url => { :action => "add" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %>
<% labelled_tabular_form_for :user, @user, :url => { :action => "add" }, :html => { :class => nil } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
<p><%= submit_tag l(:button_create) %></p>
<% end %>