Change Reset Password button style

Ref T695
pull/192/head
Matt Baer 5 years ago
parent 3e8d1014d9
commit d5dd007ff7
  1. 8
      templates/user/admin/view-user.tmpl

@ -14,10 +14,6 @@ input.copy-text {
width: 100%;
box-sizing: border-box;
}
button[type="submit"].danger {
padding-left: 2rem;
padding-right: 2rem;
}
</style>
<div class="snug content-container">
{{template "admin-header" .}}
@ -61,9 +57,7 @@ button[type="submit"].danger {
{{if ne .Username .User.Username}}
<form id="reset-form" action="/admin/user/{{.User.Username}}/passphrase" method="post" autocomplete="false">
<input type="hidden" name="user" value="{{.User.ID}}"/>
<button
class="danger"
type="submit">Reset</button>
<button type="submit">Reset</button>
</form>
{{else}}
<a href="/me/settings" title="Go to reset password page">Change your password</a>

Loading…
Cancel
Save