We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcac61b commit a15f75fCopy full SHA for a15f75f
app/views/admin/accounts/index.html.haml
@@ -72,6 +72,8 @@
72
%td
73
- if account.editor?
74
= button_to "Simple visiteur", admin_account_editor_path(account.id), method: :delete, class: "change_role"
75
+ - if account.maintainer?
76
+ = button_to "Simple visiteur", admin_account_maintainer_path(account.id), method: :delete, class: "change_role"
77
- elsif account.moderator?
78
= button_to "Simple visiteur", admin_account_moderator_path(account.id), method: :delete, class: "change_role"
79
- elsif account.admin?
0 commit comments