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

$this->headTitle($this->projectName);
$this->placeholder('title')->set($this->t('verze-f'));
?>
<h1 class="page_title"><?=$this->t('verze-f')?></h1>
        <h1 class="group_title"><?=$this->t('potvrzeni-f')?></h1>
            <div class="main_inner2">
    			<div class="main_inner">
    	            
    				<div class="main_text">
                        <h2 class="section_heading"><?=$this->t('potvrzeni-f')?></h2>
                        
                        <div>
							<?=$this->t('verze-potvrzeni-f')?> <strong><?=number_format($this->item->ver_number, 1, '.', '')?></strong> <?=$this->t('dokumentu')?> <strong><?=$this->item->doc_name?></strong>
							<br /><br />
							<?=$this->t('dokument-f')?>: <a href="<?=$this->baseUrl()?>/documents/detail/id/<?=$this->item->id_document?>"><?=$this->item->doc_name?></a>
							<?=$this->t('verze-f')?>: <a href="<?=$this->baseUrl()?>/documents/document/id/<?=$this->item->id_document?>/ver/<?=$this->item->id_version?>"><?=number_format($this->item->ver_number, 1, '.', '')?></a><br />
							<div class="confirm">
								<form method="post" action="<?=$this->baseUrl()?>/confirmations/version-confirm/id/<?=$this->item->id_version_confirm?>">
									<input type="hidden" name="id" value="<?=$this->item->id_version_confirm?>" />
									<button class="yes_no" type="submit" name="submit" value="1"><?=$this->t('potvrzuji-f')?></button>
							    	<a class="yes_no button" href="<?=$this->baseUrl()?>/confirmations"><?=$this->t('odlozit-f')?></a>
							    </form>
							</div>
						</div>
                        
                    </div>
    			
    			</div>
			</div>