{* Latte template *}

{block content}
<div class="karta">
{if ($pes->fena == 1)} 
    <h2>Karta chovné feny WSS - {$pes->jmeno}</h2> 
    {else}
        <h2>Karta chovného psa WSS - {$pes->jmeno}</h2>
     {/if}
     <a n:href="Psi:editZkousky $pes->id">Editovat výsledky zkoušek</a><br>
     
     
     <a n:href="Psi:foto $pes->id"><img src="{$basePath}{$pes->velky_nahled}"/></a>


{form editPesForm} {* <form> *}
    Základní informace:
    <table class="infopes-front">
        <tr><th>{label clp /}</th><td>{input clp}</td></tr>
        <tr><th>{label reg_c /}</th><td>{input reg_c}</td></tr>
        <tr><th>{label jmeno /}</th><td>{input jmeno}</td></tr>
        <tr><th>{label pohl /}</th><td>{input pohl}</td></tr>
        <tr><th>{label datum_nar /}</th><td>{input datum_nar}</td></tr>
        <tr><th>{label vyska /}</th><td>{input vyska}</td></tr>
        <tr><th>{label barva_oka /}</th><td>{input barva_oka}</td></tr>
        <tr><th>{label dkk /}</th><td>{input dkk}</td></tr>
        <tr><th>{label hd /}</th><td>{input hd}</td></tr><tr><td><br></td></tr>
        <tr><th>{label chovatel /}</th><td>{input chovatel}</td></tr><tr><td><br></td></tr>
        <tr><th>{label majitel /}</th><td>{input majitel}</td></tr><tr><td><br></td></tr>
        <tr><th>{label vysledky_vystav /}</th><td>{input vysledky_vystav}</td></tr>
        <tr><th>{label poznamka /}</th><td>{input poznamka}</td></tr>
    </table>
    Rodokmen:
    
<table class="rodokmen-front" >
  
        <tr><td rowspan="8">{input otec class => 'otec'}</td><td rowspan="4">{input otec_o}</td><td rowspan="2">{input otec_31}</td><td>{input otec_41}</td></tr>
        <tr><td>{input otec_42}</td></tr>
        <tr><td rowspan="2">{input otec_32}</td><td>{input otec_43}</td></tr>
        <tr><td>{input otec_44}</td></tr>
        <tr><td rowspan="4">{input otec_m}</td><td rowspan="2">{input otec_33}</td><td>{input otec_45}</td></tr>
        <tr><td>{input otec_46}</td></tr>
        <tr><td rowspan="2">{input otec_34}</td><td>{input otec_47}</td></tr>
        <tr><td>{input otec_48}</td></tr>
        
        <tr><td rowspan="8">{input matka}</td><td rowspan="4">{input matka_o}</td><td rowspan="2">{input matka_31}</td><td>{input matka_41}</td></tr>
        <tr><td>{input matka_42}</td></tr>
        <tr><td rowspan="2">{input matka_32}</td><td>{input matka_43}</td></tr>
        <tr><td>{input matka_44}</td></tr>
        <tr><td rowspan="4">{input matka_m}</td><td rowspan="2">{input matka_33}</td><td>{input matka_45}</td></tr>
        <tr><td>{input matka_46}</td></tr>
        <tr><td rowspan="2">{input matka_34}</td><td>{input matka_47}</td></tr>
        <tr><td>{input matka_48}</td></tr>
        
</table>
        
    <!--Fotky:
    <table>
        <tr><th>{*label obr1 /}</th><td>{input obr1 }</td><th>{label popis_obr1 /}</th><td>{input popis_obr1}</td></tr>
        <tr><th>{label obr2 /}</th><td>{input obr2 }</td><th>{label popis_obr2 /}</th><td>{input popis_obr2}</td></tr>
        <tr><th>{label obr3 /}</th><td>{input obr3 }</td><th>{label popis_obr3 /}</th><td>{input popis_obr3*}</td></tr>
    </table> -->

        {label send/} {input send}   
{/form} {* </form> *}
</div>
{/block}

{block breadcrumb}
&nbsp;&nbsp; > &nbsp;&nbsp; Chovní psi  &nbsp;&nbsp; > &nbsp;&nbsp; <a n:href="Psi:list">Databáze chovných psů a fen</a> &nbsp;&nbsp; > &nbsp;&nbsp; {$pes->jmeno}
{/block}
{block scripts}

<script type="text/javascript" src="{$basePath}/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
    tinymce.init({
        selector: "textarea[name=otec]",  
       
        forced_root_block : "", automatic_uploads: 'true',
  
  menubar: "false"
  ,fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt",

height: "250",
        
        plugins: [
           
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table  paste "
        ],
        toolbar: " undo redo | fontsizeselect | bold italic ",
        entities: "160,nbsp",
        entity_encoding: "named",relative_urls: false,
       
        
});
//jbimages link


</script>
<script type="text/javascript">
    tinymce.init({
        selector: "textarea[name=matka]",  
       
        forced_root_block : "", automatic_uploads: 'true',
  
  menubar: "false"
  ,fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt",

height: "250",
        
        plugins: [
           
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table  paste "
        ],
        toolbar: " undo redo | fontsizeselect | bold italic ",
        entities: "160,nbsp",
        entity_encoding: "named",relative_urls: false,
       
        
});
//jbimages link


</script>
<script type="text/javascript">
    tinymce.init({
        selector: "textarea[name=chovatel]",  
       
        forced_root_block : "", automatic_uploads: 'true',
  
  menubar: "false"
  ,


        
        plugins: [
           
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table  paste link"
        ],
        toolbar: " undo redo |  bold italic | alignleft aligncenter alignright alignjustify | link ",
        entities: "160,nbsp",
        entity_encoding: "named",relative_urls: false,
       
        
});
//jbimages link


</script>
<script type="text/javascript">
    tinymce.init({
        selector: "textarea[name=majitel]",  
       
        forced_root_block : "", automatic_uploads: 'true',
  menubar: "false"
  ,
plugins: [
           
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table  paste link"
        ],
        toolbar: " undo redo | bold italic | alignleft aligncenter alignright alignjustify | link ",
        entities: "160,nbsp",
        entity_encoding: "named",relative_urls: false,
       
        
});
//jbimages link


</script>
{/block}