9 lines
277 B
Text
9 lines
277 B
Text
<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>
|