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

17 lines
360 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>