Sha256: 8902c6e2aece97d8ae2dded0173b7869156b2e5258a7f642930ea2adf7d7c676

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

- @page_id = "login"
- @page_title = "Log In"

.row
  .span6.offset3
    = backend_logo("/assets/gb_logo.png" , {:height => "46px"})
    %h1#login_title
      = website_title

    %div#form.well
      = form_for(@user_session, :url => admin_login_path, :method => :post, :html => {:class => ""}) do |f|
        - unless flash.blank?
          = render "/layouts/flash_messages", :locals => {:close_button => true}

        - if @user_session.errors.any?
          .alert.alert-error
            .error-title
              Sorry, There was an error
            %ul
              - @user_session.errors.full_messages.each do |msg|
                %li
                  = msg



        %fieldset
          .control-group
            = f.label :email, :class => "control-label"
            .controls
              = f.text_field :email, :class => "span4"

          .control-group
            = f.label :password, :class => "control-label"
            .controls
              = f.password_field :password, :class => "span4"

          .control-group
            .controls
              = f.submit "Log in", :class => "btn btn-success", :disable_with => "Logging you in..."
              %a{:href => new_admin_password_reset_path, :class => "btn"}
                Forgot your password?

    ©
    %a{:href => "http://freerangefuture.com", :target => "_blank"}
      Freerange Future
    2012

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/user_sessions/new.html.haml