new hash syntax

This commit is contained in:
Brenda Wallace
2019-06-12 09:27:49 +12:00
parent 040c414827
commit 2386fe7afe

View File

@@ -1,6 +1,6 @@
- if can?(:edit, harvest)
.dropdown.float-right.harvest-actions
%a#harvest-actions-button.btn.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :type => "button"} Actions
%a#harvest-actions-button.btn.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", type: "button"} Actions
.dropdown-menu.dropdown-menu-xs{"aria-labelledby" => "harvest-actions-button"}
= harvest_edit_button(harvest, classes: 'dropdown-item')
= add_photo_button(harvest, classes: 'dropdown-item')