Sha256: 4887854e352abac5a52880edbbff8530e78d05ce365bba9104e9909780d8ecd8

Contents?: true

Size: 1.22 KB

Versions: 7

Compression:

Stored size: 1.22 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'}) do |f|

            = devise_error_messages!

            .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

7 entries across 7 versions & 1 rubygems

Version Path
happy_seed-0.0.7 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.6 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.5 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.4 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.3 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.2 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml
happy_seed-0.0.1 lib/generators/happy_seed/devise/templates/app/views/devise/passwords/edit.html.haml