Files
growstuff/app/models
google-labs-jules[bot] 684768ba5c feat: Add YouTube video to crop page
This commit introduces the following changes:

- Adds an `en_youtube_url` attribute to the `Crop` model to store a URL for an English language YouTube video.
- If a `en_youtube_url` is present for a crop, the video is embedded on the crop's show page.
- A link is added to the "Learn more" section of the crop's show page to search YouTube for "growing [crop name]".
- A helper method is added to extract the video ID from various YouTube URL formats.
- A validation is added to the `Crop` model to ensure that the `en_youtube_url` is a valid YouTube URL.
2025-11-29 03:40:59 +00:00
..
2025-09-20 10:18:24 +00:00
2025-09-09 12:44:40 +00:00
2022-11-06 17:36:30 +10:30
2025-08-24 21:10:16 +09:30
2022-11-06 17:36:11 +10:30
2025-11-29 03:40:59 +00:00
2025-08-24 21:10:16 +09:30
2025-09-20 09:43:22 +00:00
2025-09-20 09:43:22 +00:00
2022-11-06 17:36:42 +10:30
2025-09-20 09:43:22 +00:00
2025-08-24 21:10:16 +09:30
2022-11-08 00:25:29 +10:30
2025-09-20 10:18:24 +00:00
2025-09-20 09:43:22 +00:00
2025-08-24 21:10:16 +09:30
2025-09-20 09:43:22 +00:00
2022-11-06 17:36:49 +10:30
2025-09-20 09:43:22 +00:00