mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
* Added erblint and fixed offenses * Added erblint bintstub. Included erblint into CI * Merged GitHub Actions tasks for rubocop and erblint into one * Added config for erblint. * Reverted erblint call in the CI
20 lines
638 B
Plaintext
20 lines
638 B
Plaintext
<%
|
|
header_title t(".title")
|
|
%>
|
|
|
|
<%= form_with model: @user, url: registration_path do |form| %>
|
|
<%= auth_messages form %>
|
|
|
|
<%= form.email_field :email, autofocus: false, autocomplete: "email", required: "required", placeholder: "you@example.com", label: true %>
|
|
|
|
<%= form.password_field :password, autocomplete: "new-password", required: "required", label: true %>
|
|
|
|
<%= form.password_field :password_confirmation, autocomplete: "new-password", required: "required", label: true %>
|
|
|
|
<% if hosted_app? %>
|
|
<%= form.password_field :invite_code, required: "required", label: true %>
|
|
<% end %>
|
|
|
|
<%= form.submit %>
|
|
<% end %>
|