Added the ability for admins to send a reset password email for users (#737)

This commit is contained in:
farhatahmad
2019-08-14 10:21:58 -04:00
committed by Jesus Federico
parent 1256554ce6
commit 7e3c44575e
10 changed files with 34 additions and 18 deletions

View File

@ -75,6 +75,10 @@
</div>
</div>
<div class="card-footer">
<%= f.submit t("update"), class: "btn btn-primary float-right" %>
<%= f.submit t("update"), class: "btn btn-primary float-right ml-4" %>
<% if can_reset_password %>
<%= link_to "Reset user password", admin_reset_path(user_uid: @user.uid), class: "btn btn-primary float-right" %>
<% end %>
</div>
<% end %>