33 lines
867 B
HTML
33 lines
867 B
HTML
{% extends "base.html" %}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">User Info</div>
|
|
<div class="panel-body">
|
|
<div class="form-group">
|
|
<label class="control-label">User <span class="glyphicon glyphicon-ok-sign text-success"></span></label>
|
|
<p class="form-control-static">{{ user }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">Change Password</div>
|
|
<div class="panel-body">
|
|
<form method="POST" action="{% url "profile" %}">
|
|
{% csrf_token %}
|
|
{{ pwForm|crispy }}
|
|
<button type="submit" class="btn btn-primary" name="submit" value="pwchange">Change Password</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|