vidpush/app/views/accounts/new.html.erb

15 lines
488 B
Plaintext
Raw Normal View History

2014-05-14 18:01:19 +00:00
<h1>New User</h1>
2014-05-14 18:11:52 +00:00
<%= simple_form_for(@user, url: accounts_path) do |f| %>
2014-05-14 18:01:19 +00:00
<%= 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 %>