mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-09 10:29:11 -04:00
Merge pull request #2364 from simicic/GH-2361_optional_garden_type
GH-2361 Optional garden type when editing garden
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
.col-md-5.col-12= f.number_field :area, class: 'input-small'
|
||||
.col-md-7.col-12= f.select(:area_unit, Garden::AREA_UNITS_VALUES, { include_blank: false })
|
||||
.col-12= f.select(:garden_type_id, GardenType.all.order(:name).pluck(:name, :id),
|
||||
selected: @garden.garden_type_id)
|
||||
selected: @garden.garden_type_id, include_blank: true)
|
||||
.col-12
|
||||
= f.check_box :active, label: 'Active?'
|
||||
%p
|
||||
|
||||
Reference in New Issue
Block a user