<div class="row">
  <div class="col-md-12 mt-2">
    <div class="row">
      <div class="col-md-3 offset-md-9">
      </div>
    </div>
    <div class="card card-info">
      <div class="card-header">
        <h3 class="card-title">
          <%=sectionTitle%>
        </h3>
      </div>
      <div class="card-body table-responsive">
        <table class="table table-hover table-head-fixed datatable">
          <thead>
            <tr>
              <th style="width: 1%">
                #
              </th>
              <th>
                Name
              </th>
              <th>
                Email
              </th>
              <th>
                Phone
              </th>
              <th style="width: 15%">
                Company Name
              </th>
              <th>
                Message
              </th>
              <th data-orderable="false">
                Actions
              </th>
            </tr>
          </thead>
          <tbody>
            <% let index=1;%>
              <% for (data of dataList){ %>
                <tr>
                  <td>
                    <%=index++%>
                  </td>
                  <td>
                    <%= data.contact_name%>
                  </td>
                  <td>
                    <%= data.contact_email%>
                  </td>
                  <td>
                    <%= data.phone_number%>
                  </td>
                  <td>
                    <%= data.company_name%>
                  </td>
                  <td>
                    <%= data.contact_message%>
                  </td>
                  <td>
                    <a class="btn btn-danger btn-sm" id="delete_<%=data.id%>"
                      onclick="deleteDataFunc(`<%=data.id%>`,`employer-request/delete/<%=data.id%>`)"
                      data-toggle="tooltip" title="Delete">
                      <i class="fas fa-trash">
                      </i>
                    </a>
                    
                  </td>
                </tr>
                <% } %>
          </tbody>
        </table>
      </div>
    </div>
    <!-- /.card -->
  </div>
  <!-- /.col -->
</div>
<!-- /.row -->


<%- contentFor('pageModalSection')%>
  <%- contentFor('pageScriptsSection')%>