mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +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="col-lg-12">
|
||||
<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 %}
|
||||
{{ form|crispy }}
|
||||
<div class="control-group">
|
||||
|
@ -21,4 +21,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}{% endraw %}
|
||||
{% endblock %}{% endraw %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user