Skip to content

Instantly share code, notes, and snippets.

@JeffHoover
Created February 20, 2011 20:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save JeffHoover/836276 to your computer and use it in GitHub Desktop.
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