{extends "index.tpl"}

{block "content"}
   <div class="page-newsletter">
      <h1>{t}Odhlášení ze zasílání novinek{/t}</h1>

      {block "user-messages"}
         {include "block.messages.tpl"}
      {/block}

      {if $body.unsubscribed}
         <p><strong>{t adresa=$body.unsubscribed}E-mailová adresa {adresa} byla odhlášena ze zasílání novinek.{/t}</strong></p>
      {else}
         <form name="login" method="post" action="{$ctrl.currUrl.Abs}" style="width: 250px; margin: 20px auto;">
            <div class="form-group">
               <label for="email">{t}Zadejte Váš e-mail{/t}:</label>
               <input class="input form-control" type="email" id="email" name="email" value="{$body.inputLogin}" maxlength="70" style="width: 250px;" required>
               <input class="btn" type="submit" name="Submit" value="{t}Odhlásit{/t}" style="width: 250px; margin-top: 10px;">
            </div>
         </form>
      {/if}
   </div>
{/block}
