{extends "focus/focus.base.tpl"}

{block "focus-title"}
    {t}Odeslat poukaz na e-mail{/t}
{/block}

{block "focus-content"}
   <form method="post" action="{path('kupshop_bonusprogram_bonusprogramexchange_focussendcoupon', ['couponId' => $body.couponId])}">
      <div data-reload="coupon-form">
         {if $body.sent}
             <div class="alert alert-success" role="alert">{t}Poukaz byl úspěšně odeslán na e-mail.{/t}</div>
         {else}
            <div class="form-group">
               <input type="email" name="email" value="" placeholder="{t}E-mail{/t}" class="form-control">
            </div>
            <div class="text-center">
               <input class="btn btn-primary" type="submit" value="{t}Odeslat{/t}" name="Submit">
            </div>
         {/if}
      </div>
   </form>

{/block}
