Skip to content

Instantly share code, notes, and snippets.

Created September 6, 2009 18:57
<h1>New product</h1>
<% form_for(@product) do |f| %>
<%= f.error_messages %>
<p>
<%= f.submit 'Create' %>
</p>
<% end %>
<%= link_to 'Back', products_path %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment