summaryrefslogtreecommitdiffstats
path: root/app/views/users/_general.html.erb
blob: 7d84c0ced5fbc854b6b07b03b08358dea265e5ac (plain)
1
2
3
4
5
6
7
<%= labelled_form_for @user do |f| %>
  <%= render :partial => 'form', :locals => { :f => f } %>
  <% if @user.active? && email_delivery_enabled? && @user != User.current -%>
    <p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
  <% end -%>
  <p><%= submit_tag l(:button_save) %></p>
<% end %>