projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added availability date to product table
[depot.git]
/
app
/
views
/
products
/
edit.html.erb
diff --git
a/app/views/products/edit.html.erb
b/app/views/products/edit.html.erb
index 7aa095b3f9eb37d4d1bee0a5a835546ff2cdf09e..18efd5543223585e1f8042fb30fea317ca08ab4a 100644
(file)
--- a/
app/views/products/edit.html.erb
+++ b/
app/views/products/edit.html.erb
@@
-19,6
+19,10
@@
<%= f.label :price %><br />
<%= f.text_field :price %>
</p>
+ <p>
+ <%= f.label :date_available %><br />
+ <%= f.date_select :date_available, :order => [:day, :month, :year] %>
+ </p>
<p>
<%= f.submit "Update" %>
</p>