Soc/app/views/sessions/new.html.erb

12 lines
254 B
Plaintext

<%= form_with url: sessions_path, method: :post do |f| %>
<h2><%= t ".log_in" %></h2>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.submit t(".log_in") %>
<% end %>