Posid_edit.html 758 B

123456789101112131415161718
  1. <form id="myform" name="myform" action="<if condition="$action_name=='edit'">{:U('Posid/update')}<else />{:U('Posid/insert')}</if>" method="post">
  2. <table cellpadding=0 cellspacing=0 class="table_form" width="100%">
  3. <tr>
  4. <td width="120">{:L('Posid_name')}</td>
  5. <td><input type="text" name="name" class="inputbox input-text" value="{$vo['name']}" validate="required:true,cn_username:true, minlength:2, maxlength:20" /></td>
  6. </tr>
  7. </table>
  8. <div class="btn">
  9. <if condition="$action_name=='edit'"><input type="hidden" id="id" name="id" value="{$vo['id']}" /></if>
  10. <INPUT TYPE="submit" value="{:L('dosubmit')}" class="button buttonBtn" >
  11. <input TYPE="reset" value="{:L('cancel')}" class="button">
  12. </div>
  13. </form>
  14. </div>