Sha256: 505fbfa67a27b22d4588e35ec3be56006ee654711b7c0f4cf0496e9cd8d25288

Contents?: true

Size: 612 Bytes

Versions: 3

Compression:

Stored size: 612 Bytes

Contents

<h2>Log in</h2>

<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
  <div class="field">
    <%= f.label :login %><br />
    <%= f.text_field :login, autofocus: true %>
  </div>

  <div class="field">
    <%= f.label :password %><br />
    <%= f.password_field :password, autocomplete: "off" %>
  </div>

  <% if devise_mapping.rememberable? -%>
    <div class="field">
      <%= f.check_box :remember_me %>
      <%= f.label :remember_me %>
    </div>
  <% end -%>

  <div class="actions">
    <%= f.submit "Log in" %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_framework-1.0.1 lib/generators/templates/views/sessions/new.html.erb
social_framework-0.0.3 lib/generators/templates/views/sessions/new.html.erb
social_framework-0.0.2 lib/generators/templates/views/sessions/new.html.erb