mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
e099a279b1
Closes SCI-747.
25 lines
727 B
Text
25 lines
727 B
Text
<% provide(:head_title, t("devise.unlocks.new.head_title")) %>
|
|
|
|
<div class="center-block center-block-narrow">
|
|
<h2><%=t "devise.unlocks.new.title" %></h2>
|
|
|
|
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
|
|
|
|
<% if not resource.errors.empty? %>
|
|
<div class="alert alert-danger">
|
|
<%= devise_error_messages! %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div class="form-group">
|
|
<%= f.label :email %>
|
|
<%= f.email_field :email, autofocus: true, class: "form-control" %>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<%= f.submit t("devise.unlocks.new.submit"), class: "btn btn-primary" %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= render "users/shared/links" %>
|
|
</div>
|