Sha256: 79e0a618dc44b0a3c11907c6f11496a8e74f2fa8b10ef75ee995a1e904c57825

Contents?: true

Size: 1.33 KB

Versions: 15

Compression:

Stored size: 1.33 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_url, :method => :post, :html => {:class => ""}) do |f|   
        - 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
            /= f.label "" , :class => "control-label"
            .controls
              = f.submit "Log in", :class => "btn btn-success", :disable_with => "Logging you in..."
              %a{:href => "#", :class => "btn"}
                Forgot your password?
            
    © 
    %a{:href => "http://freerangefuture.com", :target => "_blank"}
      Freerange Future
    2012
    

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gluttonberg-core-2.6.4 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.6.3 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.6.2 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.6.1 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.6.0 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.9 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.8 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.7 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.6 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.5 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.4 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.3 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.2 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5.1 app/views/gluttonberg/admin/user_sessions/new.html.haml
gluttonberg-core-2.5 app/views/gluttonberg/admin/user_sessions/new.html.haml