Use .field to format planting options on harvests

This commit is contained in:
Brenda Wallace
2017-02-13 17:30:41 +13:00
parent 8d24ffbffb
commit 06ea3db252

View File

@@ -7,9 +7,9 @@
Is this from one of these plantings?
= form_for(@harvest) do |f|
- @matching_plantings.each do |planting|
= f.radio_button :planting_id, planting.id
= label_tag(:planting, planting)
%br/
.field
= f.radio_button :planting_id, planting.id
= label_tag(:planting, planting)
= f.submit "save", class: 'btn btn-default btn-xs'
- else
Unknown