Skip to content

Commit

Permalink
Added form for photo in product
Browse files Browse the repository at this point in the history
  • Loading branch information
anathematic committed Feb 7, 2010
1 parent cd425be commit 8362e71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/admin/products/_form.html.erb
@@ -1,3 +1,7 @@
<%= f.input :name %>
<%= f.input :price %>
<%= f.input :description %>
<%= f.input :description %>
<% f.fields_for @product.photo do |p| %>
<%= p.input :photo %>
<% end %>

0 comments on commit 8362e71

Please sign in to comment.