vidpush/app/views/accounts/new.html.erb
2014-05-14 14:11:52 -04:00

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 %>