Mercurial > hg > soundsoftware-site
view app/views/users/_general.rhtml @ 8:0c83d98252d9 yuya
* Add custom repo prefix and proper auth realm, remove auth cache (seems like an unwise feature), pass DB handle around, various other bits of tidying
author | Chris Cannam |
---|---|
date | Thu, 12 Aug 2010 15:31:37 +0100 |
parents | 513646585e45 |
children | 94944d00e43c |
line wrap: on
line source
<% labelled_tabular_form_for :user, @user, :url => { :controller => 'users', :action => "edit", :tab => nil }, :html => { :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> <% end -%> <p><%= submit_tag l(:button_save) %></p> <% end %>