diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-29 16:00:45 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-29 16:00:45 +0000 |
commit | d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (patch) | |
tree | 3bf755f3cb143ef68b4d3ec698fed4469ea6fa82 /app/views/users/new.html.erb | |
parent | 4853dd97fd5a39eec56155baba8844adcefa9aa4 (diff) | |
download | redmine-d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d.tar.gz redmine-d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d.zip |
Refactor: rename UsersController#add to #new
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4229 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/new.html.erb')
-rw-r--r-- | app/views/users/new.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb new file mode 100644 index 000000000..0e7a33319 --- /dev/null +++ b/app/views/users/new.html.erb @@ -0,0 +1,10 @@ +<h2><%= link_to l(:label_user_plural), :controller => 'users', :action => 'index' %> » <%=l(:label_user_new)%></h2> + +<% labelled_tabular_form_for :user, @user, :url => { :action => "create" }, :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) %> + <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> + </p> +<% end %> |