{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>


<!--↓エラーメッセージ -->
{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">
    {if $action.actionnm == "update"}
      <tr><th>コード</th><td>{$action.code}</td></tr>
    {/if}
      <tr><th>名称</th><td><input type="text" name="name" value="{$action.name}"></td></tr>
      <tr><th>表示順</th><td><input type="text" name="dispsort" value="{$action.dispsort}"></td></tr>

	<tr><td colspan="2" align="right">
    <input type="hidden" name="code" value="{$action.code}">
    <input type="hidden" name="updcnt" value="{$action.updcnt}">
    <input type="hidden" name="srcword" value="{$action.srcword}">
    <input type="hidden" name="srcdispnum" value="{$action.srcdispnum}">
    <input type="submit" name="dispatch_admin_datamanage_supplier_{$action.actionnm}_check" value="確認">
    <input type="submit" name="dispatch_admin_datamanage_supplier_list" value="一覧に戻る">
    </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"}
