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="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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user