<?php
// source: C:\wamp\www\bpzk2\app\AdminModule/templates/Formulare/list.latte

class Templatef2cefe662f4f9a99e65a45e6daf6e44c extends Latte\Template {
function render() {
foreach ($this->params as $__k => $__v) $$__k = $__v; unset($__k, $__v);
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('d47108225c', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lbc5d7d25e03_content')) { function _lbc5d7d25e03_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><div class="formback">
<h2>Formuláře ke stažení</h2>
<table>
<?php $iterations = 0; foreach ($formulare as $formular) { ?>
    <tr>    
        <th><a title="Stáhnout soubor" href="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT) ;echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($formular->cesta), ENT_COMPAT) ?>
" target="_blank"><?php echo Latte\Runtime\Filters::escapeHtml($formular->nazev, ENT_NOQUOTES) ?></a></th>
        <td> <a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Formulare:edit", array($formular->id)), ENT_COMPAT) ?>
">Upravit název</a></td>
        <td> <a href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("deleteFormular!", array($formular->id)), ENT_COMPAT) ?>
">Smazat</a></td> 
        
    </tr>   
<?php $iterations++; } ?>

</table>

<?php $_l->tmp = $_control->getComponent("addFormularForm"); if ($_l->tmp instanceof Nette\Application\UI\IRenderable) $_l->tmp->redrawControl(NULL, FALSE); $_l->tmp->render() ?>
</div>
<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lbb844b5c8e1_breadcrumb')) { function _lbb844b5c8e1_breadcrumb($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?>&nbsp;&nbsp; > &nbsp;&nbsp; Formuláře ke stažení
<?php
}}

//
// end of blocks
//

// template extending

$_l->extends = empty($_g->extended) && isset($_control) && $_control instanceof Nette\Application\UI\Presenter ? $_control->findLayoutTemplateFile() : NULL; $_g->extended = TRUE;

if ($_l->extends) { ob_start();}

// prolog Nette\Bridges\ApplicationLatte\UIMacros

// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
	return Nette\Bridges\ApplicationLatte\UIRuntime::renderSnippets($_control, $_b, get_defined_vars());
}

//
// main template
//
if ($_l->extends) { ob_end_clean(); return $template->renderChildTemplate($_l->extends, get_defined_vars()); }
call_user_func(reset($_b->blocks['content']), $_b, get_defined_vars())  ?>

<?php call_user_func(reset($_b->blocks['breadcrumb']), $_b, get_defined_vars()) ; 
}}