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

13 lines
298 B
Plaintext

<% @title = "Log in" %>
<%= form_with url: sessions_path, method: :post, id: "session_form" 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 %>