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

$this->headTitle($this->projectName);
$this->placeholder('title')->set($this->t('dokumenty-f'));
?>
<h1 class="page_title"><?=$this->t('dokumenty-f')?></h1>
        <h1 class="group_title"><?=$this->t('odstraneni-revize-f')?></h1>
            <div class="main_inner2">
    			<div class="main_inner">
    			
    				 <div class="left_column">
    	                <div class="left_column_item">
    	                    <?=$this->action('left-menu', 'layout', 'admin', array('leftmenu' => $this->leftmenu)); ?>
    	                </div>
    	            </div>
    	            
    				<div class="main_text_right">
                        <h2 class="section_heading"><?=$this->t('dokumenty-f')?></h2>
                        
                        <div class="confirm">
							<?=$this->t('delete_confirm')?><br /><br />
							<span><?=$this->t('revize-f')?>: <?=$this->data->ver_number . '.' . $this->data->rev_number?> <?=$this->t('dokumentu')?> "<?=$this->data->doc_name?>"</span><br /><br />
							<div class="">
								<form method="post" action="<?=$this->baseUrl()?>/documents/delete-revision/id/<?=$this->data->id_revision?>/thru/1">
									<input type="hidden" name="id" value="<?=$this->data->id_revision?>" />
									<button class="yes_no" type="submit" name="submit" value="1"><?=$this->t('ano-f')?></button>
							    	<a class="yes_no button" href="<?=$this->baseUrl()?>/documents/detail/id/<?=$this->data->id_document?>#versrefs"><?=$this->t('ne-f')?></a>
							    </form>
							</div>
						</div>
                        
                    </div>
    			
    			</div>
			</div>