Sha256: 11ee5100f7f983c96b97e7f7985b78ff3b7b6791777ae6bb30e9fc329fc0315a
Contents?: true
Size: 1.44 KB
Versions: 15
Compression:
Stored size: 1.44 KB
Contents
- render_region :main do |main| - main.edit_header do %h1 User Preferences - main.edit_form do - form_for @user, :url => admin_preferences_url, :html => { :method => :put } do |f| = render_region :form_top %table.fieldset{:cellpadding=>0, :cellspacing=>0, :border=>0} - render_region :form do |form| - form.edit_password do %tr %th.label = label_tag :user_password, "Password" %td.field = f.password_field "password", :class => 'textbox', :value => '', :maxlength => 40 %td.help{:rowspan=>2} At least 5 characters. Leave password blank for it to remain unchanged. %tr %th.label = label_tag :user_password_confirmation, "Confirm Password" %td.field = f.password_field "password_confirmation", :class => 'textbox', :value => '', :maxlength => 40 - form.edit_email do %tr %th.label = label_tag :user_email, "E-mail" %td.field = f.text_field "email", :class => 'textbox', :maxlength => 255 %td.help Optional. - render_region :form_bottom do |form_bottom| - form_bottom.edit_buttons do %p.buttons = save_model_button @user or = link_to 'Cancel', admin_url = javascript_tag "$('user_password').activate();"
Version data entries
15 entries across 15 versions & 2 rubygems