Skip to content
Snippets Groups Projects
Commit e0d6581a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include select box for which recurring item a range refers to.

parent 390f5af2
No related branches found
No related tags found
No related merge requests found
<%= error_messages_for 'recurring_item_range' %>
<!--[form:recurring_item_range]-->
<p><label for="recurring_item_range_recurring_item_id">Item</label><br/>
<%= select 'recurring_item_range', 'recurring_item_id', RecurringItem.find_all.collect { |i| [ i.description, i.id ] } %></p>
<p><label for="recurring_item_range_amount">Amount</label><br/>
<%= text_field 'recurring_item_range', 'amount' %></p>
......@@ -8,6 +11,7 @@
<%= date_select 'recurring_item_range', 'startdate' %></p>
<p><label for="recurring_item_range_enddate">Enddate</label><br/>
<%= date_select 'recurring_item_range', 'enddate' %></p>
<%= date_select 'recurring_item_range', 'enddate', :include_blank => true %></p>
<!--[eoform:recurring_item_range]-->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment