mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-31 21:23:17 -04:00
Merge pull request #2042 from Br3nda/active-gardens
only show active gardens on planting form
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
.row
|
||||
.col-md-8
|
||||
= f.collection_radio_buttons(:garden_id, @planting.owner.gardens,
|
||||
= f.collection_radio_buttons(:garden_id, @planting.owner.gardens.active,
|
||||
:id, :name, required: true,
|
||||
label: 'Where did you plant it?')
|
||||
= link_to "Add a garden.", new_garden_path
|
||||
|
||||
Reference in New Issue
Block a user