Sha256: e52c55108f78a1f9e63faf0cca0a0694b120ead2c2de407217cdca379fafd9ac

Contents?: true

Size: 928 Bytes

Versions: 3

Compression:

Stored size: 928 Bytes

Contents

%h1 User Preferences

- form_tag do
  %table.fieldset{:cellpadding=>0, :cellspacing=>0, :border=>0}
    %tr
      %th.label
        %label{:for=>"user_password"} Password
      %td.field
        = password_field "user", "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{:for=>"user_password_confirmation"} Confirm Password
      %td.field
        = password_field "user", "password_confirmation", :class => 'textbox', :value => '', :maxlength => 40
    %tr
      %th.label
        %label{:for=>"user_email"} E-mail
      %td.field
        = text_field "user", "email", :class => 'textbox', :maxlength => 255
      %td.help Optional.
  %p.buttons
    = save_model_button @user
    or
    = link_to 'Cancel', admin_url

= javascript_tag "$('user_password').activate();"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-0.6.7 app/views/admin/user/preferences.html.haml
radiant-0.6.9 app/views/admin/user/preferences.html.haml
radiant-0.6.8 app/views/admin/user/preferences.html.haml