    <form id="package-edit" action="" method="post"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      py:attrs="{'class':'has-errors'} if c.errors or c.fieldset.errors else {}"
      >

      ${c.form}


      <hr />

      <label for="log_message">Edit summary (briefly describe the changes you have made)</label>
      <textarea id="log_message" name="log_message" class="short">${c.log_message}</textarea>

      <p py:if="c.user">Author: ${c.author}</p>
      <py:if test="not c.user">
        <label>Author: ${c.author}</label>
        <p py:if="not c.user" class="small" i18n:msg="">
        Since you have not signed in this will just be your IP address.<br />
        <a href="${h.url_for(controller='user', action='login', id=None)}" target="_blank">Click here to sign in</a> before saving (opens in new window).
        </p>
      </py:if>
      
      <p>
        <input name="preview" type="submit" value="Preview" />
        ${h.submit('save', _('Save'))}
      </p>

      <ul class="desc">
        <li>By submitting content, you agree to release your contributions
        under the open license specified on the ${h.link_to(_('license page'),
        h.url_for(str('/license')))} (basically Attribution-ShareAlike).</li>
        <li>If you are not happy for this to occur please refrain from editing
        this page.</li>
      </ul>

    </form>

