<?php
/**
 * @author Lukas Havlicek
 * @version 1.0
 */

$this->headTitle($this->projectName);
$this->placeholder('title')->set($this->t('registrace-f'));
?>
<h1 class="page_title"><?=$this->t('registrace-f')?></h1>
<h1 class="group_title"><?=$this->t('nova-registrace-f')?></h1>
            <div class="main_inner2">
    			<div class="main_inner">
    			
    				<div class="main_text">
    				    
                        <h2 class="section_heading"><?=$this->t('nova-registrace-f')?></h2>
                        
                        <div class="form_errors">
                        	<?php if (isset($this->errors)) : ?>
                        		<?php foreach ($this->errors as $k => $v) : ?>
                        		 		<?=$this->t('polozka-f')?> "<?=$this->t($k)?>": <?=$this->t($v)?>.<br />
                        		<?php endforeach; ?>
                        	<?php endif; ?>
                        </div>
                        
                        <div class="info_box">
			                <?=$this->t('vsechny-polozky-jsou-povinne-f')?>.
			            </div>
                        
                        <form action="<?=$this->baseUrl()?>/registration" method="post">
	                        <label><?=$this->t('jmeno-f')?>:</label>
			                <input class="short" type="text" name="user_firstname" value="<?=$this->val($this->form, 'user_firstname')?>" />
			                <br />
			                
			                <label><?=$this->t('prijmeni-f')?>:</label>
			                <input class="short" type="text" name="user_surname" value="<?=$this->val($this->form, 'user_surname')?>" />
			                <br />
			                
			                <label><?=$this->t('e-mail-f')?>:</label>
			                <input class="short" type="text" name="email" value="<?=$this->val($this->form, 'email')?>" />
			                <br />
			                
			                <label><?=$this->t('prihlasovaci-jmeno-f')?>:</label>
			                <input class="short" type="text" name="login" value="<?=$this->val($this->form, 'login')?>" />
			                <br />
			                
			                <label><?=$this->t('heslo-f')?>:</label>
			                <input class="short" type="password" name="password" />
			                <br />
			                
			                <label><?=$this->t('heslo-znovu-f')?>:</label>
			                <input class="short" type="password" name="password_check" />
			                <br />
			                
			                <div class="submit_line">
		                  		<button type="submit" class="inline_button"><?=$this->t('registrovat-f')?></button>
                        	</div>
                        </form>
                    </div>
    			</div>
			</div>