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

<!-- Container -->
<div class="container">

<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_UPDATE_SITEMAP; ?></strong>
    </div>
  </div>
</div>

<div class="row">
  <div class="col">
    <form class="form-horizontal" action="<?php echo TFISH_URL . 'sitemap/'; ?>" method="post" accept-charset="UTF-8">
      <input type="hidden" name="token" value="<?php echo xss($_SESSION['token']); ?>" />
      <button name="action" value="generate" 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>

</div>
