aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/user-form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/admin/user-form.html')
-rw-r--r--templates/web/base/admin/user-form.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html
index e8e647a09..bb8511726 100644
--- a/templates/web/base/admin/user-form.html
+++ b/templates/web/base/admin/user-form.html
@@ -17,7 +17,11 @@
<input type='text' class="form-control" name='name' id='name' value='[% user.name | html %]'>
</li>
<li><label for="email">[% loc('Email:') %]</label>
- <input type='text' class="form-control" id='email' name='email' value='[% user.email | html %]'></li>
+ <input type='text' class="form-control" id='email' name='email' value='[% user.email | html %]'>
+ [% IF user %]
+ <input class="btn" type="submit" name="send_login_email" value="[% loc('Send login email') %]">
+ [% END %]
+ </li>
<li><label class="inline" for="email_verified">[% loc('Email verified:') %]</label>
<input type="checkbox" id="email_verified" name="email_verified" value="1" [% user.email_verified ? ' checked' : '' %]>
<li><label for="phone">[% loc('Phone:') %]</label>
@@ -190,6 +194,7 @@
<p>
<input type="submit" class="btn" name="Submit changes" value="[% loc('Submit changes') %]" >
</p>
+
[% IF user AND NOT user.from_body %]
<ul class="no-bullets danger-zone">
<li><input class="btn-danger" type="submit" name="logout_everywhere" value="[% loc('Log out of all sessions') %]">