Start with basic authentication
This commit is contained in:
commit
5e8cda6fc0
6 changed files with 89 additions and 0 deletions
9
views/login.erb
Normal file
9
views/login.erb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<h1>Log in</h1>
|
||||
<% if @error %>
|
||||
<p class="error"><%= @error %></p>
|
||||
<% end %>
|
||||
<form action="/login" method="POST">
|
||||
<input name="email" placeholder="Email" />
|
||||
<input name="password" type="password" placeholder="Password" />
|
||||
<input type="submit" value="Log in" />
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue