{if $user}
<b>{$user.namePrefix} {$user.name} {$user.surname} {$user.nameSuffix}:</b>
<a href="index.php?site=teacher&amp;action=info&amp;id={$user.id}">[detaily]</a> |
<a href="index.php?site=teacher&amp;action=change_p&amp;id={$user.id}">[zmeniť heslo]</a><br />
{/if}
<div class="note">
  Učiteľ musí mať vyplnené tieto údaje: <b>Meno</b>, <b>Priezvisko</b>, <b>ITIC</b><br />
  {if !$user}
    <br />
    Automaticky sa vygeneruje login v tvare: <b>MenoPriezvisko</b> bez diakritiky<br />
    Heslom nového učiteľa budú posledné 4 cifry čísla <b>ITIC</b>
  {/if}
</div>
{if $error != ""}
  <div class="error">
    {$error}
  </div>
{/if}
<form action="index.php?site=teacher{$formUrlSuffix}" method="post">
<table>
	<tr> 
    <td>Titul (pred)</td>
    <td><input type="text" name="nPrefix" size="10" maxlength="10" value="{$nPrefixV}" /></td>
	</tr> 
	<tr> 
    <td>Meno</td>
    <td><input type="text" name="name" size="20" maxlength="20" value="{$nameV}" /></td>
	</tr> 
	<tr> 
    <td>Priezvisko</td>
    <td><input type="text" name="surname" size="30" maxlength="30" value="{$surnameV}" /></td>
	</tr> 
	<tr> 
    <td>Titul (za)</td>
    <td><input type="text" name="nSuffix" size="10" maxlength="10" value="{$nSuffixV}" /></td>
	</tr> 
	<tr> 
    <td>ITIC</td>
    <td><input type="text" name="isic" size="10" maxlength="10" value="{$isicV}" /></td>
	</tr>
	<tr> 
    <td colspan="2"><input type="submit" name="Start" value="{$buttonLabel}" /></td>
	</tr> 
</table>
</form>

