Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 721a6c0a1e
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (27 sloc) 0.64 kB
<%= form_for @user do |f| %>
<% if @user.errors.any? %>
<section class="error_messages">
<h2>Form is invalid </h2>
<ul>
<% for message in @user.errors.full_messages %>
<li><%= message %></li>
<% end %>
</ul>
</section>
<% end %>
<section class="field">
<%= f.label :email %>
<%= f.text_field :email%>
</section>
<section class="field">
<%= f.label :password %>
<%= f.password_field :password %>
</section>
<section class="field">
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
</section>
<section class="actions">
<%= f.submit %>
</section>
<% end %>
Jump to Line
Something went wrong with that request. Please try again.