16 lines
388 B
Text
16 lines
388 B
Text
<h1>Log in</h1>
|
|
<% if @error %>
|
|
<p class="error"><%= @error %></p>
|
|
<% end %>
|
|
<form action="/login" method="POST">
|
|
<p>
|
|
<label for="email">Email</label>
|
|
<input type="text" name="email">
|
|
</p>
|
|
<p>
|
|
<label for="password">Password</label>
|
|
<input type="password" name="password">
|
|
</p>
|
|
<button type="submit">Log in</button>
|
|
</form>
|
|
<a href="/signup">Create account</a>
|