<?php echo $header; ?>
<div class="container-fluid">
  <div class="row center-xs">
    <div class="col-xs-12">
      <div class="content-box">
        <span class="text-x-large text-dark visible-block text-center"><?php echo $heading_title; ?></span>
        <?php if ($error_warning) { ?>
        <p class="text-small text-error text-center"><?php echo $error_warning; ?></p>
        <?php } ?>
      </div>
    </div>
    <div class="col-xs-12 col-sm-8 col-md-6 col-lg-4">
      <div class="content-box padding-x-large background-white shadow-small">
        <?php if (!$success){ ?>
          <p class="text-small text-center bottom-margin-x-large"><?php echo $text_email; ?></p>
          <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
            <label class="field field-medium vertical-margin-medium">
              <i class="fas fa-envelope field-icon"></i>
              <input type="text" name="email" class="field-entry" placeholder="<?php echo $entry_email; ?>">
            </label>
            <div class="flex between-xs middle-xs">
              <a href="<?php echo $cancel; ?>" class="text-primary text-decoration-none">
                <i class="fas fa-angle-left text-small" aria-hidden="true"></i>
                <span class="text-small"><?php echo $text_back; ?></span>
              </a>
              <button type="submit" class="btn-default btn-medium btn-primary">
                <span><?php echo $button_send; ?></span>
              </button>
            </div>
          </form>
        <?php } else { ?>
          <div class="flex between-xs middle-xs">
            <span class="text-medium text-center bottom-margin-x-large">
              <?php echo $mensage; ?>
            </span>
            <a href="<?php echo $cancel; ?>" class="text-primary text-decoration-none">
              <i class="fas fa-angle-left text-small" aria-hidden="true"></i>
              <span class="text-small"><?php echo $text_back; ?></span>
            </a>
          </div>
        <?php } ?>
      </div>
    </div>
  </div>
</div>
<?php echo $footer; ?>
