projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added date_available_from to products, updated conditions in product.find_products_fo...
[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 18efd5543223585e1f8042fb30fea317ca08ab4a..ce912cc0d5fa9f5bbb5edf70a30c5e9e55b238d2 100644
(file)
--- a/
app/views/products/edit.html.erb
+++ b/
app/views/products/edit.html.erb
@@
-23,6
+23,10
@@
<%= f.label :date_available %><br />
<%= f.date_select :date_available, :order => [:day, :month, :year] %>
</p>
<%= f.label :date_available %><br />
<%= f.date_select :date_available, :order => [:day, :month, :year] %>
</p>
+ <p>
+ <%= f.label :date_available_until %><br />
+ <%= f.date_select :date_available_until, :order => [:day, :month, :year], :include_blank => true %>
+ </p>
<p>
<%= f.submit "Update" %>
</p>
<p>
<%= f.submit "Update" %>
</p>