Fix a bug in edit_post template

This commit is contained in:
Grégory Soutadé 2012-10-11 19:00:26 +02:00
parent 505cb5e0c6
commit 6b8e1ad0a2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
{% endblock %}
{% block content %}
<form id="previewForm" action="/post/edit/{{ blog_id }}" method="post">{% csrf_token %}
<form id="previewForm" action="/post/edit/{{ post_id }}" method="post">{% csrf_token %}
{{ form.as_p }}
<textarea name="content" class="mceAdvanced">{{ content }}</textarea>
<input type="submit" name="edit" value="Edit" /><input type="button" name="preview" value="Preview" onClick="previewPost();"/><input type="submit" name="cancel" value="Cancel" />