view app/views/users/_general.rhtml @ 299:defe55be97b9 feature_73

Do not show external checkbox/field until the repo has been automatically populated Pull external Hg as well as git and svn repos Some textual changes
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 24 Mar 2011 15:48:36 +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 %>