Merge pull request #28 from toffer/patch-1

Fill in form action attribute in user_detail.html.
This commit is contained in:
Daniel Greenfeld 2013-10-03 01:10:43 -07:00
commit cf0727d94c

View File

@ -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 %}