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

13 lines
278 B
Plaintext
Raw Normal View History

2023-08-18 18:46:38 +00:00
<% @title = "Log in" %>
<%= form_with url: sessions_path, method: :post do |f| %>
2023-08-18 16:20:31 +00:00
<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 %>