mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-11-01 10:49:12 -05:00
Add `Garden#has_layout?` method to detect whether a garden has an existing layout. On `gardens#show`, if a garden has a layout, display an SVG preview of the layout (placed plants and features) inside the teaser bed frame, remove the "New" badge, update the title to "Garden layout", and offer "Edit layout →" or "View layout →" controls. If no layout exists, preserve the original "Map out this bed" teaser and "New" badge. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>