2013-08-16 17:19:50 +04:00
|
|
|
{% raw %}{% extends "base.html" %}
|
2013-08-16 16:07:28 +04:00
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
|
|
|
|
{% block title %}User: {{ user.username }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<h1>{% block header %}User: {{ user.username }}{% endblock %}</h1>
|
2013-10-02 10:40:58 +04:00
|
|
|
<form class="form-horizontal" method="post" action="{% url 'users:update' %}">
|
2013-08-16 16:07:28 +04:00
|
|
|
{% csrf_token %}
|
|
|
|
{{ form|crispy }}
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<button type="submit" class="btn">Update</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-02 10:40:58 +04:00
|
|
|
{% endblock %}{% endraw %}
|