Skip to content

Commit

Permalink
use ghost buttons for delete in identity and policy edit forms
Browse files Browse the repository at this point in the history
  • Loading branch information
meirish committed May 8, 2018
1 parent 793adc1 commit ed3609b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/app/templates/components/identity/edit-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

{{#if (and (eq mode "edit") model.canDelete)}}
{{#confirm-action
buttonClasses="button is-link is-outlined is-inverted"
buttonClasses="button is-ghost"
onConfirmAction=(action "deleteItem" model)
confirmMessage=(concat "Are you sure you want to delete " model.id "?")
data-test-entity-item-delete=true
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/vault/cluster/policy/edit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
</div>
{{#if (and (not-eq model.id "default") capabilities.canDelete)}}
{{#confirm-action
buttonClasses="button is-link is-outlined is-inverted"
buttonClasses="button is-ghost"
onConfirmAction=(action "deletePolicy" model)
confirmMessage=(concat "Are you sure you want to delete " model.id "?")
data-test-policy-delete=true
Expand Down

0 comments on commit ed3609b

Please sign in to comment.