| ... | @@ -24,7 +24,7 @@ |
... | @@ -24,7 +24,7 @@ |
|
|
%p.cgray
|
|
%p.cgray
|
|
|
- if current_user.private_token
|
|
- if current_user.private_token
|
|
|
= text_field_tag "token", current_user.private_token, class: "input-xlarge input-xpadding pull-left"
|
|
= text_field_tag "token", current_user.private_token, class: "input-xlarge input-xpadding pull-left"
|
|
|
= f.submit 'Reset', confirm: "Are you sure?", class: "btn btn-primary btn-build-token prepend-left-10"
|
|
= f.submit 'Reset', data: { confirm: "Are you sure?" }, class: "btn btn-primary btn-build-token prepend-left-10"
|
|
|
- else
|
|
- else
|
|
|
%span You don`t have one yet. Click generate to fix it.
|
|
%span You don`t have one yet. Click generate to fix it.
|
|
|
= f.submit 'Generate', class: "btn success btn-build-token"
|
|
= f.submit 'Generate', class: "btn success btn-build-token"
|
| ... | @@ -70,4 +70,4 @@ |
... | @@ -70,4 +70,4 @@ |
|
|
%li
|
|
%li
|
|
|
The following groups will be abandoned. You should transfer or remove them:
|
|
The following groups will be abandoned. You should transfer or remove them:
|
|
|
%strong #{current_user.solo_owned_groups.map(&:name).join(', ')}
|
|
%strong #{current_user.solo_owned_groups.map(&:name).join(', ')}
|
|
|
= link_to 'Delete account', user_registration_path, confirm: "REMOVE #{current_user.name}? Are you sure?", method: :delete, class: "btn btn-remove" |
|
= link_to 'Delete account', user_registration_path, data: { confirm: "REMOVE #{current_user.name}? Are you sure?" }, method: :delete, class: "btn btn-remove" |