saucy/app/views/sessions/_form.html.erb

29 lines
612 B
Plaintext

<%= form_for :session, url: session_path do |form| %>
<table>
<tr>
<td>
<%= form.label :email %>
</td>
<td>
<%= form.email_field :email %>
</td>
</tr>
<tr>
<td><%= form.label :password %></td>
<td><%= form.password_field :password %></td>
</tr>
</table>
<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 %>
<%= link_to t(".forgot_password"), new_password_path %>
</div>
<% end %>