Sha256: 523fb0fbaaac01bad04e909f1c4d7f6cbdb6d54493bcc454c814977b4e7ba3ea

Contents?: true

Size: 1010 Bytes

Versions: 4

Compression:

Stored size: 1010 Bytes

Contents

#login
  - unless locals[:message].nil?
    .alert.alert-danger
      %button.close{:type => 'button', 'data-dismiss' => 'alert'} ×
      %strong Error!
      = locals[:message]
  .col-centered
    %form.form-horizontal{:action => '/login', :method => 'post'}
      .form-group
        %label.col-sm-2.control-label{:for => 'username'} Username
        - if locals[:remember_me].nil?
          %input#username.form-control{:type => 'text', :name => 'username', :placeholder => 'Username'}
        - else
          %input#username.form-control{type: 'text', name: 'username', value: locals[:remember_me]}
      .form-group
        %label.col-sm-2.control-label{:for => 'password'} Password
        %input#password.form-control{:type => 'password', :name => 'password', :placeholder => 'Password'}
      .form-group
        .checkbox
          %label
            %input#remember_me{:type => 'checkbox', :name => 'remember_me'} Remember Me
        %button#loginBtn.btn.btn-primary{:type => 'submit'} Log in

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sabisu-0.1.3 lib/sabisu/templates/login.haml
sabisu-0.1.2 lib/sabisu/templates/login.haml
sabisu-0.1.1 lib/sabisu/templates/login.haml
sabisu-0.1.0 lib/sabisu/templates/login.haml