<?php declare(strict_types=1); ?>

<div class="row">
  <div class="col">
    <h1 class="page-title"><?php echo xss($viewModel->pageTitle()); ?></h1>
  </div>
</div>

<div class="row">
  <div class="col">
    <div class="alert alert-danger">
      <strong><?php echo TFISH_DO_YOU_WANT_TO_FLUSH_CACHE; ?></strong>
    </div>
  </div>
</div>

<div class="row">
  <div class="col">
    <form class="form-horizontal" action="<?php echo TFISH_URL . 'flush/'; ?>" method="post" accept-charset="UTF-8">
      <input type="hidden" name="token" value="<?php echo xss($_SESSION['token']); ?>" />
      <button name="action" value="flush" type="submit" class="btn btn-primary"><?php echo TFISH_YES; ?></button>
      <button name="action" value="cancel" type="submit" class="btn btn-primary"><?php echo TFISH_NO; ?></button>
    </form>
  </div>
</div>
