Sha256: b69404f280680878e5140b147609d0967f7f19dba0768360047032953532f85b
Contents?: true
Size: 1.88 KB
Versions: 16
Compression:
Stored size: 1.88 KB
Contents
.content .inner -if form_for == "login" %div.group .text_field= text_field :id => "user_name", :name => "name", :label => "Username: ", :class => "text_field", :value => params.has_key?(:name) ? h(params[:name]) : @user.name %br %div.group .text_field= password_field :id=> "password", :name => "password", :label=>"Password: ", :class => "password_field" %br =link_to("Or, log in with OpenID if you have one associated with an existing user account.", url(:openid_consumer)) %br - if form_for == "edit" %div.group.form %label.label New Password = password_field :id=>"user_new_password", :name => "new_password", :class =>"password_field" %span.description New password for the User. Keep blank if you do not want to change password. %div.group.form %label.label Confirm New Password = password_field :id=>"user_confirm_new_password", :name => "confirm_new_password", :class =>"password_field" %span.description Confirm new password for the User. Keep blank if you do not want to change password. - if session[:level] == :admin && edit_admin %div.group.form %label.label Admin = text_field :id => "user_admin", :name => "admin", :class => "text_field", :value => @user.admin %span.description Whether or not the User is an admin. %div.group.form %label.label OpenID Association = text_field :id => "openid", :name => "openid", :class => "text_field", :value => @user.openid %span.description Associate an OpenID with the user account, leave blank if you do not want to associate one. = form(:action => form_url, :method => :post, :id => form_id, :class => 'form') do %div.group .actions-bar .actions= submit submit_name, :id => submit_id, :class => 'button'
Version data entries
16 entries across 16 versions & 1 rubygems