mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-15 20:40:50 -04:00
Fix button id
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
- if can?(:edit, planting)
|
||||
.dropdown.float-right.planting-actions
|
||||
%button#post-edit-button.btn.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :type => "button"} Actions
|
||||
.dropdown-menu.dropdown-menu-xs{"aria-labelledby" => "post-edit-button"}
|
||||
%button#planting-actions-button.btn.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :type => "button"} Actions
|
||||
.dropdown-menu.dropdown-menu-xs{"aria-labelledby" => "planting-actions-button"}
|
||||
= link_to edit_planting_path(planting), class: 'dropdown-item' do
|
||||
= edit_icon
|
||||
= t('.edit')
|
||||
|
||||
Reference in New Issue
Block a user