Sha256: 75e55a5ebf5273c7676a1c0005638aa3cf0c6a224526358965fab781ea9fe99e

Contents?: true

Size: 628 Bytes

Versions: 4

Compression:

Stored size: 628 Bytes

Contents

<%= form_for :session, url: session_path do |form| %>
  <div class="text-field">
    <%= form.label :email %>
    <%= form.email_field :email %>
  </div>

  <div class="password-field">
    <%= form.label :password %>
    <%= form.password_field :password %>
  </div>

  <div class="submit-field">
    <%= form.submit %>
  </div>

  <div class="other-links">
    <% if Clearance.configuration.allow_sign_up? %>
      <%= link_to t(".sign_up"), sign_up_path %>
    <% end %>
    <% if Clearance.configuration.allow_password_reset? %>
      <%= link_to t(".forgot_password"), new_password_path %>
    <% end %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
clearance-2.9.2 app/views/sessions/_form.html.erb
clearance-2.9.1 app/views/sessions/_form.html.erb
clearance-2.9.0 app/views/sessions/_form.html.erb
clearance-2.8.0 app/views/sessions/_form.html.erb