<div class="modal-header">
  <h6 class="modal-title">
    {include file='__svg_icons.tpl' icon="report" class="main-icon mr10" width="24px" height="24px"}
    {__("Report")}
  </h6>
  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<form class="js_ajax-forms" data-url="data/report.php?do=submit&id={$id}&handle={$handle}">
  <div class="modal-body">
    <!-- category -->
    <div class="form-group">
      <label class="form-label">{__("Why you want to report this?")}</label>
      <select class="form-select" name="category" id="category">
        {foreach $categories as $category}
          {include file='__categories.recursive_options.tpl'}
        {/foreach}
      </select>
    </div>
    <!-- category -->
    <!-- reason -->
    <div class="row">
      <div class="col-md-12">
        <div class="form-group">
          <label class="form-label">{__("Reason")}</label>
          <textarea name="reason" rows="3" dir="auto" class="form-control"></textarea>
        </div>
      </div>
    </div>
    <!-- reason -->
    <!-- error -->
    <div class="alert alert-danger mt15 mb0 x-hidden"></div>
    <!-- error -->
  </div>
  <div class="modal-footer">
    <button type="submit" class="btn btn-primary">{__("Report")}</button>
  </div>
</form>