vedia/views/login.erb
2025-04-06 17:05:07 -06:00

16 lines
423 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">Log in</button>
</form>
<a href="/signup">Create account</a>