<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:py="http://genshi.edgewall.org/"
     py:strip="True">
  <form method="post" action="$action">
    <input py:if="show_subject" name="subject" style="width:90%"
           value="${value and (value.subject or '(no subject)')}"/>
    <textarea name="text" style="width:90%">${(value and 'text' in value) and value['text'] or ''}</textarea>
    <span class="arw"><span></span></span><br/>
    <input type="submit" value="$submit_text"/>
  </form>
</div>
