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

$this->headTitle($this->projectName);
$this->placeholder('title')->set($this->t('revize-f'));
?>
<h1 class="page_title"><?=$this->t('revize-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('revize-potvrzeni-f')?> <strong><?=$this->item->ver_number . '.' . $this->item->rev_number?></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('revize-f')?>: <a href="<?=$this->baseUrl()?>/documents/document/id/<?=$this->item->id_document?>/rev/<?=$this->item->id_revision?>"><?=$this->item->ver_number . '.' . $this->item->rev_number?></a><br />
							<div class="confirm">
								<form method="post" action="<?=$this->baseUrl()?>/confirmations/revision-confirm/id/<?=$this->item->id_revision_confirm?>">
									<input type="hidden" name="id" value="<?=$this->item->id_revision_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>