Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
new.html.erb
<h1>Edit user</h1>
<%= form_for(@user) do |f| %>
<%= render 'fields', :f => f %>
<div class="actions">
<%= f.submit "Update" %>
</div>
<% end %>
<h1>Sign up</h1>
<%= form_for(@user) do |f| %>
<%= render 'fields', :f => f %>
<div class="actions">
<%= f.submit "Sign up" %>
</div>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment