<!-- BEGIN form -->
{app_header}
<form action="{actionurl}" method="post">
    <table align="center">
      <tr><td><h1>{lang_action}:&nbsp;{name}</h1></td></tr>
      <tr><td>{message}</td></tr>
      <tr>
        <td>
          <select name="new_cat">
            <option value="">{lang_choose}</option>
            {main_cat_list}
          </select>
        </td>
      </tr>
      <tr><td><textarea cols="60" rows="10" name="note[content]" wrap="virtual">{content}</textarea></td></tr>
      <tr><td>{lang_access}:&nbsp;&nbsp;<input type="checkbox" name="note[access]" value="True" {access_checked}></td></tr>
    </table>
<!-- END form -->

<!-- BEGIN add -->
    <table align="center">
      <tr>
        <td><input type="submit" name="addnote" value="{lang_save}" /></td>
        <td><input type="reset" name="reset" value="{lang_reset}" /></td>
        <td><input type="button" name="done" value="{lang_done}" onClick="window.location.href='{done_action}'" /></td>
      </tr>
    </table>
</form>
<!-- END add -->

<!-- BEGIN edit -->
    <table class="padding" align="center">
      <tr>
        <td><input type="submit" name="editnote" value="{lang_save}" /></td>
        <td>{delete}</td>
        <td><input type="button" name="done" value="{lang_done}" onClick="window.location.href='{done_action}'" /></td>
      </tr>
    </table>
</form>
<!-- END edit -->

