mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-11 01:05:01 -04:00
This change adds the "mark as failed" action to the crop view in two places: 1. In the "Crop Actions" button group, a new "Mark as failed" button is added if the current member has active plantings of that crop. Clicking it opens a modal to select which planting failed. 2. In the "See who's planted" list, an "Actions" dropdown is added to any plantings owned by the current member, which includes the "Mark as failed" option. A new partial `app/views/plantings/_failed_modal.html.haml` was created to handle the planting selection modal. `app/views/crops/_actions.html.haml` and `app/views/crops/_plantings.html.haml` were updated to include these new actions. Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>