Sha256: 6e1e3c9096164f4be1831caebe6adb3b7883b12295a337fca7171774d3ed80c3

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

.container.pageHeading
  %h2.pull-left Change your password
.container
  .row
    .span16
      = form_for(resource, :as => resource_name, :url => update_password_url(resource_name), :html => { :method => :put }) do |f|
        = password_instructions(devise_error_messages!)
        - if resource.errors.any?
          %div{ :class => 'alert-message block-message error', :id => 'error_explanation'}
            %h3== #{pluralize(resource.errors.count, "error")} prohibited this user from being saved:

            %ul
              - resource.errors.full_messages.each do |msg|
                %li= msg
        
        %div{:style => "margin:0;padding:0;display:inline"}
          = f.hidden_field :reset_password_token
        %fieldset
          .clearfix
            = f.label :password, "New password"
            .input
              = f.password_field :password, :value => '', :autocomplete => 'off'
          .clearfix
            = f.label :password_confirmation, "Confirm new password"
            .input
              = f.password_field :password_confirmation, :autocomplete => 'off'
          .actions
            = f.submit "Change my password", :class => "btn primary"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
protected-1.0.4 app/views/protected/passwords/edit.html.haml
protected-1.0.3 app/views/protected/passwords/edit.html.haml
protected-1.0.2 app/views/protected/passwords/edit.html.haml
protected-1.0.1 app/views/protected/passwords/edit.html.haml
protected-1.0.0 app/views/protected/passwords/edit.html.haml