mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +03:00
Merge pull request #28 from toffer/patch-1
Fill in form action attribute in user_detail.html.
This commit is contained in:
commit
cf0727d94c
|
@ -9,7 +9,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<h1>{% block header %}User: {{ user.username }}{% endblock %}</h1>
|
<h1>{% block header %}User: {{ user.username }}{% endblock %}</h1>
|
||||||
<form class="form-horizontal" method="post" action="">
|
<form class="form-horizontal" method="post" action="{% url 'users:update' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|crispy }}
|
{{ form|crispy }}
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
@ -21,4 +21,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}{% endraw %}
|
{% endblock %}{% endraw %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user