18 lines
448 B
Text
18 lines
448 B
Text
<h1><%= _("Login") %></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"><%= _("Login") %></button>
|
|
</form>
|
|
<a href="/signup"><%= _("Create account") %></a>
|