<div class="container py-4">

<h2>

Homepage Releases

</h2>

<hr>

<a
href="/easychair/admin/conference-home/release/create"

class="btn btn-primary">

Create Release

</a>

<br><br>

<?php foreach(
$releases
as $r
): ?>

<div
class="card mb-3">

<div
class="card-body">

<b>

<?= $r[
'release_name'
] ?>

</b>

<br>

<?= $r[
'release_status'
] ?>

<br>

<?= $r[
'created_at'
] ?>

<br><br>

<a
href="/easychair/admin/conference-home/release/publish?id=<?= (int)$r['id'] ?>"

class="btn btn-success">

Publish

</a>

<a
href="/easychair/admin/conference-home/release/rollback?id=<?= (int)$r['id'] ?>"

class="btn btn-danger">

Rollback

</a>

</div>

</div>

<?php endforeach; ?>

</div>
