Skip to content
Snippets Groups Projects
Commit 53a6f0b1 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix profile private token form actions

parent 86a09cfa
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,11 +26,11 @@
- else
%span You don`t have one yet. Click generate to fix it.
 
.form-actions
- if current_user.private_token
= f.submit 'Reset private token', data: { confirm: "Are you sure?" }, class: "btn btn-default btn-build-token"
- else
= f.submit 'Generate', class: "btn btn-default btn-build-token"
.form-actions
- if current_user.private_token
= f.submit 'Reset private token', data: { confirm: "Are you sure?" }, class: "btn btn-default"
- else
= f.submit 'Generate', class: "btn btn-default"
 
- unless current_user.ldap_user?
.panel.panel-default
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment