view app/views/users/_general.rhtml @ 213:00e958b1f6f8 feature_72

DEV commit: working in the repository config tab
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 09 Feb 2011 16:22:31 +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 %>