mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-02 13:41:00 -05:00
Use .field to format planting options on harvests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user