{if $specialization.id > 0}
  <h2>{$specialization.name}:</h2>
  <a href="index.php?site=spec&amp;action=info&amp;id={$specialization.id}">[detaily]</a> |
  <a href="index.php?site=spec&amp;action=delete&amp;id={$specialization.id}">[vymazať]</a><br />
{/if}
<div class="note">
  Odbor musí mať vyplnený <b>Názov</b>, ktorý nekoliduje s názvom iného odboru.
</div>
{if $error != ""}
  <div class="error">
    {$error}
  </div>
{/if}
<form action="index.php?site=spec{$formUrlSuffix}" method="post">
<table>
	<tr> 
    <td>Názov</td>
    <td><input type="text" name="name" size="50" maxlength="128" value="{$nameV}" /></td>
	</tr> 
	<tr>
	  <td>Garant</td>
	  <td>
	    <select name="garant">	     
      {foreach from=$teachers item=teacher}
      	<option value="{$teacher.id}">{$teacher.namePrefix} {$teacher.surname}
        {$teacher.name} {$teacher.nameSuffix}</option>
      {/foreach}
	    </select>
	  </td>
	</tr>
	<tr> 
    <td colspan="2"><input type="submit" name="Start" value="{$buttonLabel}" /></td>
	</tr> 
</table>
</form>

