Rewrite views with Bootstrap
This commit is contained in:
parent
529f7118b1
commit
5a278fcddf
19 changed files with 424 additions and 279 deletions
|
|
@ -1,19 +1,19 @@
|
|||
<h1><%= _("Login") %></h1>
|
||||
<h1 class="mb-5"><%= _("Login") %></h1>
|
||||
|
||||
<% if @error %>
|
||||
<p class="error"><%= @error %></p>
|
||||
<p class="alert alert-warning mb-4"><%= @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 action="/login" method="post" class="mb-5">
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label"><%= _("Email") %></label>
|
||||
<input type="text" name="email" class="form-control">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="password" class="form-label"><%= _("Password") %></label>
|
||||
<input type="password" name="password" class="form-control">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary"><%= _("Login") %></button>
|
||||
</form>
|
||||
<p><a href="/signup"><%= _("Create account") %></a></p>
|
||||
<p><a href="/reset"><%= _("Reset password") %></a></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue