15 lines
488 B
Plaintext
15 lines
488 B
Plaintext
<h1>New User</h1>
|
|
<%= simple_form_for(@user, url: accounts_path) do |f| %>
|
|
<%= f.error_notification %>
|
|
|
|
<div class="form-inputs">
|
|
<%= f.input :email, required: true, autofocus: true %>
|
|
|
|
<%= f.input :password, autocomplete: "off", hint: "leave it blank if you don't want to change it", required: false %>
|
|
<%= f.input :password_confirmation, required: false %>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<%= f.button :submit, "Update" %>
|
|
</div>
|
|
<% end %> |