<?php
$title = "Upload Revision";
?>

<div class="container mt-4">

<h3>
Upload Revised Version
</h3>

<p>
Submission #<?= (int)$submission['id'] ?>
</p>

<?php if (!empty($submission['revision_open_until'])): ?>

<div class="alert alert-info">

Deadline:

<strong>
<?= htmlspecialchars(
    $submission['revision_open_until']
) ?>
</strong>

</div>

<?php endif; ?>

<form
method="post"
action="/easychair/author/submission/revision/upload"
enctype="multipart/form-data"
>

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

<div class="mb-3">

<label>
Revised Manuscript
</label>

<input
type="file"
name="file"
class="form-control"
required
>

</div>

<button
class="btn btn-primary"
>

Submit Revision

</button>

</form>

</div>
