Sha256: 8764fb73feb85ee91521436e0a9df17e4ac8c599e9181e20d936392b0f1d3bb1

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

- @page_id = "login"
- @page_title = "Chamge My Password"

.row
  .span6.offset3
    = backend_logo("/assets/gb_logo.png" , {:height => "46px"})
    %h1#login_title
      = website_title
    
    %div#form.well
      = form_for(@user, :url => admin_password_reset_path, :method => :put, :html => {:id => "wrapper"}) do |f|
        
        %fieldset
          - unless flash.blank?
            = render "/layouts/flash_messages", :locals => {:close_button => true}

          - if @user.errors.any?
            .alert.alert-error
              .error-title
                Sorry, There was an error
              %ul
                - @user.errors.full_messages.each do |msg|
                  %li
                    = msg
          
          .control-group
            = f.label :password, :class=>"control-label"
            = f.password_field :password, :class => "span4"

            %p.help-block
              Password #{Rails.configuration.password_validation_message}
        
          .control-group
            = f.label :password_confirmation, :class=>"control-label"
            = f.password_field :password_confirmation, :class => "span4"
          
          .control-group
            .cotrols
              = f.submit "Reset my password", :class => "btn btn-success", :disable_with => "Resetting your password..."

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/password_resets/edit.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/password_resets/edit.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/password_resets/edit.html.haml