<form class="layui-form">
    <div class="layui-col-xs3">
        {if $id}
        {:form_input('oldpassword','password',['label'=>'NewPasswd','verify'=>'required|pass'])}
        {:form_input('password','password',['label'=>'ReNewPasswd','verify'=>'required|pass'])}
    {else /}
        {:form_input('oldpassword','password',['label'=>'oldpassword','verify'=>'required|pass'])}
        {:form_input('password','password',['label'=>'NewPasswd','verify'=>'required|pass'])}
    {/if}
    {if input('type')}
    {