yooo this is sick
This commit is contained in:
2
app/views/sessions/create.html.erb
Normal file
2
app/views/sessions/create.html.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>Sessions#create</h1>
|
||||
<p>Find me in app/views/sessions/create.html.erb</p>
|
||||
2
app/views/sessions/destroy.html.erb
Normal file
2
app/views/sessions/destroy.html.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>Sessions#destroy</h1>
|
||||
<p>Find me in app/views/sessions/destroy.html.erb</p>
|
||||
17
app/views/sessions/new.html.erb
Normal file
17
app/views/sessions/new.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<h1>Log in</h1>
|
||||
|
||||
<%= form_with url: login_path, local: true do |form| %>
|
||||
<div class="field">
|
||||
<%= form.label :email %>
|
||||
<%= form.email_field :email, autofocus: true, autocomplete: "email" %>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<%= form.label :password %>
|
||||
<%= form.password_field :password, autocomplete: "current-password" %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.submit "Log in" %>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user