Rename article in post

This commit is contained in:
2012-08-28 09:09:14 +02:00
parent e270a52e41
commit c393ea7197
17 changed files with 253 additions and 250 deletions

View File

@@ -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" />