{strip}
{if $template->template_id}{t}Edycja szablonu{/t}{else}Dodawanie szablonu{/if}

{* wyswietlanie bledow i informacji*} {assign var="errTab" value=$errTemplates} {assign var="msgTab" value=$msgTemplates} {include file="provex/error.inc.tpl"} {include file="provex/msg.inc.tpl"}
{if $template->template_id} {/if} {if $template->template_id} {/if} {if $template->template_id} {/if}
{if $template->template_id} {if $template->template_status == 'DRAFT'} {/if} {if $template->template_status == 'ACTIVE'} {/if} {/if}
{t}Zapisz{/t} {t}Usuń{/t} {t}Aktywuj{/t} {t}Deaktywuj{/t}
{t}ID{/t}: {$template->template_id}
{t}Nazwa{/t}:*
{t}Typ{/t}:*
{t}Status{/t}: {$template->template_status}
{t}Model{/t}:*
{t}Usuwać po pobraniu?{/t}:*
{t}Czas timeout [min]{/t}:*
{t}Data modyfikacji{/t}: {$template->modification_date}
{t}Data utworzenia{/t}: {$template->creation_date}
{t}Parametry{/t}*
{t}dodaj{/t}     {t}wpisz początek nazwy systemowej parametru{/t}

{foreach name=list from=$formData['templateItemList'] key=itemId item=row} {/foreach}
{t}Nazwa systemowa{/t} {t}Nazwa producenta{/t} {t}Typ{/t} {t}Wartość domyślna{/t} {t}Komentarz{/t}
{t}usuń{/t}  {t}edycja{/t} {$row['provexName']} {$row['vendorName']} {$row['type']} {if $row['type'] == 'TEXT'} {$row['defaultValue']} {elseif $row['type'] == 'INTEGER'} {$row['defaultValue']} {elseif $row['type'] == 'BOOL'} {if {$row['defaultValue']}}{t}TAK(BOOL){/t} {else}{t}NIE(BOOL){/t} {/if} {/if} {$row['comment']}
{t}usuń zaznaczone{/t}   {t}usuń wszystkie{/t}  
* {t}- pola wymagane{/t}
{if $template->template_id} {if $template->template_status == 'DRAFT'} {/if} {if $template->template_status == 'ACTIVE'} {/if} {/if}
{t}Zapisz{/t} {t}Usuń{/t} {t}Aktywuj{/t} {t}Deaktywuj{/t}
{/strip}