Download this file

edit_post.html    14 lines (10 with data), 447 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{% extends g.theme.master %}
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}:
{{'Edit' if post.title else 'New'}}{% endblock %}
{% block header %}{{c.project.name}} / {{c.app.config.options.mount_label}}:
{{'Editing "%s"' % post.title if post.title else 'New Post'}}{% endblock %}
{% block content %}
<div class="content">
{{c.form.display(value=post, action='save')}}
</div>
{% endblock %}