projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finished chapter 6
[depot.git]
/
app
/
views
/
products
/
new.html.erb
diff --git
a/app/views/products/new.html.erb
b/app/views/products/new.html.erb
index f93593799e4963301c96ddaf4aa8f6e73d1956fa..90ef7f2e0edd275a50db49820fc78281d92aebe5 100644
(file)
--- a/
app/views/products/new.html.erb
+++ b/
app/views/products/new.html.erb
@@
-15,7
+15,11
@@
<%= f.label :image_url %><br />
<%= f.text_field :image_url %>
</p>
- <p>
+ <p>
+ <%= f.label :price %><br />
+ <%= f.text_field :price %>
+ </p>
+ <p>
<%= f.submit "Create" %>
</p>
<% end %>