2017-10-31 14:57:26 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
|
|
|
|
{% block title %}{{ user.username }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2019-03-04 12:17:12 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
|
|
|
<h1>{{ user.username }}</h1>
|
|
|
|
<form class="form-horizontal" method="post" action="{% url 'profile:update' %}">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form|crispy }}
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<button type="submit" class="btn">Update</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2017-10-31 14:57:26 +00:00
|
|
|
</div>
|
2019-03-04 12:17:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-31 14:57:26 +00:00
|
|
|
{% endblock %}
|