dnmgmt/templates/registration/profile.html

34 lines
810 B
HTML
Raw Permalink Normal View History

2017-02-10 02:45:45 +01:00
{% 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">
2017-03-28 01:43:24 +02:00
<label class="control-label">User</label>
2017-02-10 02:45:45 +01:00
<p class="form-control-static">{{ user }}</p>
2017-03-28 01:43:24 +02:00
2017-02-10 02:45:45 +01:00
</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">
2017-03-28 01:43:24 +02:00
<form method="POST" action="{% url "user:profile" %}">
2017-02-10 02:45:45 +01:00
{% csrf_token %}
{{ pwForm|crispy }}
<button type="submit" class="btn btn-primary" name="submit" value="pwchange">Change Password</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}