diff --git a/app/views/harvests/_planting.haml b/app/views/harvests/_planting.haml index 6e6ba03c2..ae2d94b9c 100644 --- a/app/views/harvests/_planting.haml +++ b/app/views/harvests/_planting.haml @@ -4,12 +4,12 @@ in = link_to @harvest.planting.garden, garden_path(@harvest.planting.garden) - elsif @matching_plantings && @matching_plantings.any? && @harvest.owner == current_member - Is this from one of these plantings? - = form_for(@harvest) do |f| - - @matching_plantings.each do |planting| - .field - = f.radio_button :planting_id, planting.id - = label_tag(:planting, planting) - = f.submit "save", class: 'btn btn-default btn-xs' + + .alert.alert-info{role: "alert"} + = bootstrap_form_for(@harvest) do |f| + Is this from one of these plantings? + - @matching_plantings.each do |planting| + = f.radio_button :planting_id, planting.id, label: planting + = f.submit "save", class: 'btn btn-sm' - else Unknown