app/views/plantings/_quick_actions.haml
- if can?(:edit, planting)
%a#planting-actions-menu.nav-link.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-bs-toggle" => "dropdown", href: "#"}
/=icon('fas', 'ellipsis-v')
%ul.dropdown-menu.dropdown-menu-left{"aria-labelledby" => "planting-actions-menu"}
%li= link_to t('view'), planting, class: 'dropdown-item'
%li= planting_edit_button(planting, classes: 'dropdown-item')
%li= add_photo_button(planting, classes: 'dropdown-item')
- if planting.active
%li= planting_finish_button(planting, classes: 'dropdown-item')
%li= planting_harvest_button(planting, classes: 'dropdown-item')
%li= planting_save_seeds_button(planting, classes: 'dropdown-item')