Rename article in post
This commit is contained in:
@@ -27,7 +27,7 @@ tinyMCE.init({
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/article/edit/{{ article_id }}" method="post">{% csrf_token %}
|
||||
<form 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="submit" name="preview" value="Preview" /><input type="submit" name="cancel" value="Cancel" />
|
||||
|
||||
Reference in New Issue
Block a user