summaryrefslogtreecommitdiff
path: root/app/views/profiles/accounts/_reset_token.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/accounts/_reset_token.html.haml')
-rw-r--r--app/views/profiles/accounts/_reset_token.html.haml11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/views/profiles/accounts/_reset_token.html.haml b/app/views/profiles/accounts/_reset_token.html.haml
deleted file mode 100644
index c31a4a8ecd4..00000000000
--- a/app/views/profiles/accounts/_reset_token.html.haml
+++ /dev/null
@@ -1,11 +0,0 @@
-- name = label.parameterize
-- attribute = name.underscore
-
-.reset-action
- %p.cgray
- = label_tag name, label, class: "label-light"
- = text_field_tag name, current_user.send(attribute), class: 'form-control', readonly: true, onclick: 'this.select()'
- %p.help-block
- = help_text
- .prepend-top-default
- = link_to button_label, [:reset, attribute, :profile], method: :put, data: { confirm: 'Are you sure?' }, class: 'btn btn-default private-token'