Sha256: bd180bd069d31c35ec0c337e32c5c69045d7fcf17faeca3a8e9f765675935658

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

= form_for(resource, :as => resource_name, :url => user_session_url, :html => { :autocomplete => "off", :class => "form-horizontal" }) do |f|
  %fieldset
    %legend Login
    %div.control-group
      = f.label :login, "Username", {:class => 'control-label'}
      %div.controls
        = f.text_field :login, :tabindex => 1, :value => '', :autocomplete => 'off', :size => '30', :class => 'span3'
    %div.control-group
      = f.label :password, "Password", {:class => 'control-label'}
      %div.controls
        = f.password_field :password, :tabindex => 2, :autocomplete => 'off', :class => 'span3'
    %div.control-group
      %div.controls
        %label.checkbox
          %input{ :id => "wants_first_login", :value => "1",:type => 'checkbox', :name => "wants_first_login", :tabindex => 5}
          Change password after login
    %div.form-actions
      %label.control-label  
      = f.submit "Login", :class => "btn btn-primary", :tabindex => 3
    %div.control-group
      %div.controls
        %a{:href => new_user_password_url(resource_name), :tabindex => 4} I have forgotten my password

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
protected-1.0.4 app/views/protected/sessions/new.html.haml
protected-1.0.3 app/views/protected/sessions/new.html.haml
protected-1.0.2 app/views/protected/sessions/new.html.haml
protected-1.0.1 app/views/protected/sessions/new.html.haml
protected-1.0.0 app/views/protected/sessions/new.html.haml