Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 0.648 kB
<%%= form_for @<%= user_singular_name %> do |f| %>
<%%= f.error_messages %>
<div class="field">
<%%= f.label :username %>
<%%= f.text_field :username %>
</div>
<div class="field">
<%%= f.label :email, "Email Address" %>
<%%= f.text_field :email %>
</div>
<div class="field">
<%%= f.label :password %>
<%%= f.password_field :password %>
</div>
<div class="field">
<%%= f.label :password_confirmation, "Confirm Password" %>
<%%= f.password_field :password_confirmation %>
</div>
<div class="actions"><%%= f.submit (@<%= user_singular_name %>.new_record? ? "Sign up" : "Update") %></div>
<%% end %>
Jump to Line
Something went wrong with that request. Please try again.