Add user model through devise. Add some basic layout. Start testing in travis.

This commit is contained in:
2020-08-20 11:01:27 +01:00
parent 1bc17c462a
commit b7b1e2b3fd
45 changed files with 599 additions and 155 deletions
+8 -8
View File
@@ -1,16 +1,16 @@
<h2>Resend unlock instructions</h2>
<h1><%= t('.resend_unlock_instructions') %></h1>
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<%= bootstrap_devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
<div class="form-group">
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
</div>
<div class="actions">
<%= f.submit "Resend unlock instructions" %>
<div class="form-group">
<%= f.submit t('.resend_unlock_instructions'), class: 'btn btn-primary'%>
</div>
<% end %>
<%= render "devise/shared/links" %>
<%= render 'devise/shared/links' %>