{include file="admin/header.html"}
{include file="admin/gnavi.html"}

<div id="container">

{include file="admin/menu/submenu_data.html"}

<!-- ↓段組み メイン側 -->
<div id="main">

<h3>{$action.title}</h3>

<!-- ↓オプション情報 -->
{if $action.namediv_name}
  <h4>{$action.namediv_name} のデータ</h4>
{/if}

<!--↓エラーメッセージ -->
{errorList->getMessages assign=errmsg}
{if $errmsg}
<div class="error">
  <ul class="alert">
  {foreach from=$errmsg item=msg}
    <li>{$msg|escape}</li>
  {/foreach}
  </ul>
</div>
{/if}
<!--↑エラーメッセージ -->

<!-- ↓アイテム -->
<form method="post">
 <table border="0" cellspacing="0" cellpadding="0" class="hyou">
      <tr>
        <th>名称</th>
        <td><input type="text" name="name" value="{$action.name}"></td>
      </tr>
      <tr>
        <th>表示順</th>
        <td><input type="text" name="disppriority" value="{$action.disppriority}"></td>
      </tr>

<!-- ↑アイテム -->

   <tr>
    <td align="right" colspan="2">
  <input type="hidden" name="namediv" value="{$action.namediv}">
  <input type="hidden" name="namecd" value="{$action.namecd}">
  <input type="hidden" name="updcnt" value="{$action.updcnt}">
  <input type="hidden" name="namediv_name" value="{$action.namediv_name}">

  <input type="submit" name="dispatch_admin_datamanage_itemoption_{$action.actionnm}_check" value="確認">

{if $action.namediv_name}
  <input type="submit" value="戻る" name="dispatch_admin_datamanage_itemoption_list">
{else}
  <input type="button" value="戻る" onClick="location.href='{$scriptName}?action=admin_datamanage_itemoption'">
{/if}
    </td>
  </tr>

    </table>
</form>


<!-- ↑オプション情報 -->

<div class="pagetop" title="ページトップへ"><a href="#top">ページトップへ</a></div>

</div>
<!--End of main-->

<div class="cr"></div>
</div>
<!--End of container-->

{include file="admin/footer.html"}
