Fix a bug in edit_post template
This commit is contained in:
parent
505cb5e0c6
commit
6b8e1ad0a2
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user