view app/views/users/_general.rhtml @ 80:0a679b5bd3b3 luisf

Feature #53: Added the description to the admin's email. May need future fixes in terms of format (HTML and Plain text mail versions).
author luisf
date Wed, 15 Dec 2010 16:13:57 +0000
parents 94944d00e43c
children
line wrap: on
line source
<% 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? -%>
		<p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
	<% end -%>
	<p><%= submit_tag l(:button_save) %></p>
<% end %>