1 <%inherit file="/base.mako"/>
6 ${h.secure_form(url(''))}
8 % if c.new_post or (c.title and len(c.title)):
11 ${h.text(name='title', value=c.title, maxLength=255)}
16 ${h.textarea(name='content', rows=7, cols=40, content=c.content)} <br />
20 ${h.submit(value='Save changes', name='commit')}
21 % if c.content_type and len(c.content_type):
22 ${h.hidden(name='content_type', value=c.content_type)}
24 % if c.post_id and len(c.post_id):
25 ${h.hidden(name='post_id', value=c.post_id)}
27 % if c.redir and len(c.redir):
28 ${h.hidden(name='success_redirect', value=c.redir)}
30 % if len(c.host_classname) and len(c.host_id):
31 ${h.hidden(name='host_classname', value=c.host_classname)}
32 ${h.hidden(name='host_id', value=c.host_id)}