mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-02 22:44:09 +03:00
25 lines
742 B
HTML
25 lines
742 B
HTML
{% raw %}{% extends "base.html" %}
|
|
{% 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>
|
|
<form class="form-horizontal" method="post" action="{% url 'users:update' %}">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<button type="submit" class="btn">Update</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}{% endraw %}
|