refactor: 💡 replace renderTemplate with components

This commit is contained in:
Randall Morey committed 2022-01-14 16:56:59 -05:00
1 parent 0d1dfb23b2
commit cd30e05e2e
35 files changed
+576 -542

No files matched your search

@@ -0,0 +1,15 @@
{{#if (can 'delete model' @model)}}
<Rose::Dropdown
@text={{t 'actions.manage'}}
@dropdownRight={{true}}
as |dropdown|
>
<dropdown.button
@style='danger'
@disabled={{@model.canSave}}
{{on 'click' (route-action 'deleteManagedGroup' @model)}}
>
{{t 'resources.managed-group.actions.delete'}}
</dropdown.button>
</Rose::Dropdown>
{{/if}}