Set up localization
This commit is contained in:
parent
c9aee4ae20
commit
3fa8c69a49
8 changed files with 106 additions and 3 deletions
|
|
@ -1,14 +1,14 @@
|
|||
<h1>Log in</h1>
|
||||
<h1><%= _("Login") %></h1>
|
||||
<% if @error %>
|
||||
<p class="error"><%= @error %></p>
|
||||
<% end %>
|
||||
<form action="/login" method="POST">
|
||||
<p>
|
||||
<label for="email">Email</label>
|
||||
<label for="email"><%= _("Email") %></label>
|
||||
<input type="text" name="email">
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">Password</label>
|
||||
<label for="password"><%= _("Password") %></label>
|
||||
<input type="password" name="password">
|
||||
</p>
|
||||
<button type="submit">Log in</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue