summaryrefslogtreecommitdiffstats
path: root/app/views/users/_general.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/_general.html.erb')
-rw-r--r--app/views/users/_general.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/users/_general.html.erb b/app/views/users/_general.html.erb
new file mode 100644
index 000000000..193fcdde5
--- /dev/null
+++ b/app/views/users/_general.html.erb
@@ -0,0 +1,7 @@
+<% labelled_tabular_form_for :user, @user, :url => { :controller => 'users', :action => "update", :tab => nil }, :html => { :method => :put, :class => nil } do |f| %>
+ <%= render :partial => 'form', :locals => { :f => f } %>
+ <% if @user.active? && email_delivery_enabled? -%>
+ <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
+ <% end -%>
+ <p><%= submit_tag l(:button_save) %></p>
+<% end %>