<script type="text/javascript">
  $(document).ready(function() {
      GForum.initPostReportBox('<%post_id%>', '<%config.post_reports_message_max_length%>');
  });
</script>
<form method="post">
  <h4>Report this Post</h4>
  <div class="dtable form">
    <div class="drow">
      <div class="dcell name"></div>
      <div class="dcell divider"></div>
      <div class="dcell value">
        <textarea id="report_message_<%post_id%>" rows="3" class="txt midtext"></textarea>
        <div id="report_message_remaining_chars_<%post_id%>"><%config.post_reports_message_max_length%></span><span>&nbsp;Characters left.</div>
        <div id="report_error_<%post_id%>" class="warn hide"></div>
      </div>
    </div>
    <div class="drow actions">
      <div class="dcell name"></div>
      <div class="dcell divider"></div>
      <div class="dcell value">
        <input type="submit" id="report_submit_<%post_id%>" name="report-submit" value="btn default" />
      </div>
    </div>
  </div>
</form>
