Skip to content

Commit e5db974

Browse files
committed
add start and end date fields
1 parent 64ef56f commit e5db974

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/views/resource_items/_form.html.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<div class="box tabular">
44
<p><%= f.text_field :name, required: true, size: 25 %></p>
5+
<p><%= f.date_field :start_date %></p>
6+
<p><%= f.date_field :end_date %></p>
57
<% if categories.any? %>
68
<p><%= f.select :category_id, categories.sorted.map{|c|[c.name, c.id]}, label: l(:field_resource_category), include_blank: true %></p>
79
<% end %>

0 commit comments

Comments
 (0)