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
/
new.html.erb
diff --git
a/app/views/products/new.html.erb
b/app/views/products/new.html.erb
index 90ef7f2e0edd275a50db49820fc78281d92aebe5..3762d076dee42a6659306ed4e52c330925826a17 100644
(file)
--- a/
app/views/products/new.html.erb
+++ b/
app/views/products/new.html.erb
@@
-19,7
+19,11
@@
<%= f.label :price %><br />
<%= f.text_field :price %>
</p>
- <p>
+ <p>
+ <%= f.label :date_available %><br />
+ <%= f.date_select :date_available, :order => [:day, :month, :year] %>
+ </p>
+<p>
<%= f.submit "Create" %>
</p>
<% end %>