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

13 lines
298 B
Plaintext
Raw Permalink Normal View History

2023-08-18 18:46:38 +00:00
<% @title = "Log in" %>
2023-08-18 19:55:12 +00:00
<%= form_with url: sessions_path, method: :post, id: "session_form" 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 %>