We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ef56f commit e5db974Copy full SHA for e5db974
app/views/resource_items/_form.html.erb
@@ -2,6 +2,8 @@
2
3
<div class="box tabular">
4
<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>
7
<% if categories.any? %>
8
<p><%= f.select :category_id, categories.sorted.map{|c|[c.name, c.id]}, label: l(:field_resource_category), include_blank: true %></p>
9
<% end %>
0 commit comments