2018-08-28 13:34:52 +00:00
|
|
|
<div class="login-container">
|
|
|
|
<div class="login-content">
|
|
|
|
<h2>Sign up</h2>
|
2018-08-27 14:37:06 +00:00
|
|
|
|
2018-08-28 13:34:52 +00:00
|
|
|
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
|
|
|
|
<%= f.error_notification %>
|
2018-08-27 14:37:06 +00:00
|
|
|
|
2018-08-28 13:34:52 +00:00
|
|
|
<div class="form-inputs">
|
|
|
|
<%= f.input :email,
|
|
|
|
required: true,
|
|
|
|
autofocus: true ,
|
|
|
|
input_html: { autocomplete: "email" }%>
|
|
|
|
<%= f.input :password,
|
|
|
|
required: true,
|
|
|
|
hint: ("#{@minimum_password_length} characters minimum" if @minimum_password_length),
|
|
|
|
input_html: { autocomplete: "new-password" } %>
|
|
|
|
<%= f.input :password_confirmation,
|
|
|
|
required: true,
|
|
|
|
input_html: { autocomplete: "new-password" } %>
|
|
|
|
</div>
|
2018-08-27 14:37:06 +00:00
|
|
|
|
2018-08-28 13:34:52 +00:00
|
|
|
<div class="form-actions">
|
|
|
|
<%= f.button :submit, "Sign up", class: "login btn btn-primary" %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2018-08-27 14:37:06 +00:00
|
|
|
|
2018-08-28 13:34:52 +00:00
|
|
|
<%= render "devise/shared/links" %>
|
|
|
|
</div>
|
|
|
|
</div>
|