<h3>
Submissions Ready for Decision
</h3>

<table class="table table-bordered">

<thead>
<tr>

<th>ID</th>
<th>Title</th>
<th>Reviews</th>
<th>Average Score</th>
<th>Decision</th>

</tr>
</thead>

<tbody>

<?php foreach ($submissions as $s): ?>

<tr>

<td>
<?= (int)$s['id'] ?>
</td>

<td>
<?= htmlspecialchars($s['title']) ?>
</td>

<td>
<?= (int)$s['review_count'] ?>
</td>

<td>
<?= htmlspecialchars($s['avg_score']) ?>
</td>

<td>

<form
method="POST"
action="/easychair/chair/decision/apply"
>

<input
type="hidden"
name="submission_id"
value="<?= (int)$s['id'] ?>"
>

<select
name="decision"
class="form-control"
required
>

<option value="">
Select
</option>

<option value="accept">
Accept
</option>

<option value="minor_revision">
Minor Revision
</option>

<option value="major_revision">
Major Revision
</option>

<option value="reject">
Reject
</option>

</select>

<button
class="btn btn-primary btn-sm mt-1"
>

Apply

</button>

</form>

</td>

</tr>

<?php endforeach; ?>

</tbody>

</table>
