{extends "index.tpl"}

{block "css-entry" append}
   {encore_entry_link_tags entry='htmlpage'}
{/block}

{block content}
   <div class="page-login">
      <h1>{t}Přihlášení{/t}</h1>

      <div class="page-content">
         {include "block.messages.tpl"}
         <form name="login" method="post" action="{url s=login}">
            <div class="form-group">
               <input type="email" name="login" value="{$body.inputLogin}" maxlength="70" class="form-control" id="email"
                      placeholder="{t}E-mail{/t}">
            </div>
            <div class="form-group">
               <input type="password" name="password" value="" maxlength="70" class="form-control" id="pass" placeholder="{t}Heslo{/t}"
                      autocomplete="current-password">
            </div>
            <input class="btn btn-primary" type="submit" name="Submit" value="{t}Přihlásit se{/t}">
         </form>
         <p>
            <a href="{url s=login act=passw}">{t}Zapomenuté heslo.{/t}</a><br>
             {t escape=false url={url s=user act=new}}Jste tu poprvé? <a href="{url}">Zaregistrujte se</a>.{/t}
         </p>
      </div>
   </div>
{/block}
