Sha256: 63d6b1940ac4a4741098c171ef57bcf887609c5e1462d0ac02207c88ff4cf5c2

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

.container
  .row
    .col-lg-6.col-lg-offset-3.col-md-6.col-md-offset-3.col-sm-8.col-sm-offset-2
      .panel.panel-default.only

        .panel-heading
          Change your password

        .panel-body

          = form_for(resource, as: resource_name, url: password_path(resource_name), :html=>{:role=>:form, :class=>'form-horizontal', method: 'put'}) do |f|

            = devise_error_messages!
            = f.hidden_field :reset_password_token

            .form-group
              = f.label :password, :class=>'control-label col-lg-3'
              .col-lg-9= f.password_field :password, autocomplete: "off", autofocus: true, :class=>'form-control', :placeholder=>'Password'

            .form-group
              = f.label :password_confirmation, :class=>'control-label col-lg-3'
              .col-lg-9= f.password_field :password_confirmation, autocomplete: "off", :class=>'form-control', :placeholder=>'Confirm password'

            .form-group
              .col-lg-9.col-lg-offset-3
                = f.submit "Change my password", :class=>'btn btn-primary form-control'

            .form-group
              .col-lg-9.col-lg-offset-3.text-right
                = link_to 'Sign in',  new_user_session_path
                %br
                = link_to 'Sign up',  new_user_registration_path

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
happy_seed-0.0.11 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.10 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.9 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.8 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml