tabletop-companion/app/views/sessions/new.html.erb

18 lines
423 B
Plaintext

<% content_for :title, t(".log_in") %>
<h1><%= t(".log_in") %></h1>
<section class="inset">
<%= form_with url: sessions_path do |f| %>
<%= f.label :username %>
<%= f.text_field :username, required: true %>
<%= f.label :password %>
<%= f.password_field :password, required: true %>
<%= f.submit t(".log_in") %>
<% end %>
</section>
<%= link_to(t(".forgot_password"), new_password_reset_path) %>