Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (32 sloc) 1.42 KB
{% extends "users/base.html" %}
{% block saas_title %}{% trans %}Change Password{% endtrans %}{% endblock %}
{% block saas_lead_help %}{% trans %}Change a user password.{% endtrans %}{% endblock %}
{% block saas_help %}
<p>
{% trans %}You can change the password for a user here.{% endtrans %}
</p>
{% endblock %}
{% block saas_content %}
<section id="personal">
<div id="update-password-container">
<form @submit.prevent="modalShowAndValidate">
<div class="form-group">
<label class="control-label requiredField">{% trans %}New password{% endtrans %}<span class="asteriskField">*</span></label>
<div class="controls">
<input class="form-control" name="new_password" placeholder="{% trans %}New password{% endtrans %}" type="password" v-model="newPassword">
</div>
</div>
<div class="form-group">
<label class="control-label requiredField">{% trans %}Confirm password{% endtrans %}<span class="asteriskField">*</span></label>
<div class="controls">
<input class="form-control" name="new_password2" placeholder="{% trans %}Type password again{% endtrans %}" type="password" v-model="newPassword2">
</div>
</div>
<div class="form-action text-center">
<button class="btn btn-primary btn-lg" type="submit">{% trans %}Update{% endtrans %}</button>
</div>
</form>
{% include "users/_require_password.html" %}
</div>
</section>
{% endblock %}
You can’t perform that action at this time.