Sha256: 1af45a74d2cfd8b6970a28279fd1ab3e404f329ed1d063f91dd2c88557e5a7a7

Contents?: true

Size: 1.06 KB

Versions: 20

Compression:

Stored size: 1.06 KB

Contents

<div class="authform">
  <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f| %>
    <h3>Sign in</h3>
    <%= devise_error_messages! %>
    <div class="form-group">
      <%- if devise_mapping.registerable? %>
        <%= link_to 'Sign up', new_registration_path(resource_name), class: 'right'  %>
      <% end -%>
      <%= f.label :email %>
      <%= f.email_field :email, :autofocus => true, class: 'form-control' %>
    </div>
    <div class="form-group">
      <%- if devise_mapping.recoverable? %>
        <%= link_to "Forgot password?", new_password_path(resource_name), class: 'right' %>
      <% end -%>
      <%= f.label :password %>
      <%= f.password_field :password, class: 'form-control' %>
    </div>
      <%= f.submit 'Sign in', :class => 'button right' %>
      <% if devise_mapping.rememberable? -%>
        <div class="checkbox" style="width:150px">
          <label>
            <%= f.check_box :remember_me %> Remember me
          </label>
        </div>
      <% end -%>
  <% end %>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rails_layout-1.0.42 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.41 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.40 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.39 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.38 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.37 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.36 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.35 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.34 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.33 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.32 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.31 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.30 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.29 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.28 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.27 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.26 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.25 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.24 lib/generators/layout/devise/templates/sessions/new.html.erb
rails_layout-1.0.23 lib/generators/layout/devise/templates/sessions/new.html.erb