@@ -1,4 +1,4 | |||
|
1 | <% labelled_tabular_form_for :user, @user, :url => { :controller => 'users', :action => "update", :tab => nil }, :html => { :method => :put, :class => nil } do |f| %> | |
|
1 | <% form_for @user, :builder => TabularFormBuilder do |f| %> | |
|
2 | 2 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
3 | 3 | <% if @user.active? && email_delivery_enabled? -%> |
|
4 | 4 | <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p> |
@@ -4,7 +4,7 | |||
|
4 | 4 | <%= link_to(l(:button_delete), @user, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') if User.current != @user %> |
|
5 | 5 | </div> |
|
6 | 6 | |
|
7 |
<h2><%= link_to l(:label_user_plural), |
|
|
7 | <h2><%= link_to l(:label_user_plural), users_path %> » <%=h @user.login %></h2> | |
|
8 | 8 | |
|
9 | 9 | <%= render_tabs user_settings_tabs %> |
|
10 | 10 |
@@ -1,5 +1,5 | |||
|
1 | 1 | <div class="contextual"> |
|
2 |
<%= link_to l(:label_user_new), |
|
|
2 | <%= link_to l(:label_user_new), new_user_path, :class => 'icon icon-add' %> | |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_user_plural)%></h2> |
@@ -1,6 +1,6 | |||
|
1 |
<h2><%= link_to l(:label_user_plural), |
|
|
1 | <h2><%= link_to l(:label_user_plural), users_path %> » <%=l(:label_user_new)%></h2> | |
|
2 | 2 | |
|
3 | <% labelled_tabular_form_for :user, @user, :url => { :action => "create" }, :html => { :class => nil } do |f| %> | |
|
3 | <% form_for @user, :builder => TabularFormBuilder do |f| %> | |
|
4 | 4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | 5 | <% if email_delivery_enabled? %> |
|
6 | 6 | <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p> |
General Comments 0
You need to be logged in to leave comments.
Login now