<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=GroupList"><{$smarty.const._AD_USER_LANG_GROUP_LIST}></a>
  &raquo;&raquo;
  <{if $actionForm->get('groupid') }>
    <{$smarty.const._AD_USER_LANG_GROUP_EDIT}>
  <{else}>
    <{$smarty.const._AD_USER_LANG_GROUP_NEW}>
  <{/if}>
</div>

<{if $actionForm->get('groupid') }>
  <h3><{$smarty.const._AD_USER_LANG_GROUP_EDIT}></h3>
<{else}>
  <h3><{$smarty.const._AD_USER_LANG_GROUP_NEW}></h3>
<{/if}>

<{if $actionForm->hasError()}>
  <ul>
    <{foreach item=message from=$actionForm->getErrorMessages()}>
      <li><{$message|escape}></li>
    <{/foreach}>
  </ul>
<{/if}>

<form action="?action=GroupEdit" method="post">
  <{xoops_token form=$actionForm}>
  <{xoops_input type=hidden name=groupid value=$actionForm->get('groupid')}>
  <table class="outer">
    <tr>
      <th colspan="2">
      <{if $actionForm->get('groupid') }>
        <{$smarty.const._AD_USER_LANG_GROUP_EDIT}>
      <{else}>
        <{$smarty.const._AD_USER_LANG_GROUP_NEW}>
      <{/if}>
      </th>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_USER_LANG_GROUP_NAME}></td>
      <td class="<{cycle values="odd,even"}>">
        <{xoops_input type=text name=name value=$actionForm->get('name')}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_USER_LANG_GROUP_DESC}></td>
      <td class="<{cycle values="odd,even"}>">
        <{xoops_dhtmltarea name=description value=$actionForm->get('description')}>
      </td>
    </tr>
    <tr>
      <td colspan="2" class="foot">
        <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" />
        <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" />
      </td>
    </tr>
  </table>
</form>
