add admin user by devise

This commit is contained in:
João Geonizeli
2021-08-03 19:46:26 -03:00
parent 50f12f49a6
commit f9a5f15e0e
19 changed files with 703 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
<h1><%= t('.resend_unlock_instructions') %></h1>
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= bootstrap_devise_error_messages! %>
<div class="form-group">
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, autocomplete: 'email', class: 'form-control' %>
</div>
<div class="form-group">
<%= f.submit t('.resend_unlock_instructions'), class: 'btn btn-primary'%>
</div>
<% end %>
<%= render 'devise/shared/links' %>