1234567891011121314151617181920212223242526272829303132333435363738 |
- {extend name="layout" /}
- {block name="content"}
- <div class="row">
- <div class="col-md-12">
- <div class="box nav-tabs-custom">
- <div class="box-header with-border">
- <h3 class="box-title">{$page_title|default=""|htmlspecialchars}</h3>
- </div>
- <div class="box-body tab-content">
- <div class="tab-pane active">
- <div class="block-content">
- {php}
- $url_param = input('param.');
- {/php}
- <!-- 表单验证请保留id="form",否则验证不起作用 -->
- <form class="form row" name="form" id="form" action="{:url('',$url_param)}" method="post" data-validator-option="{timely:1, theme:'bootstrap'}">
- {include file="../public/theme/admin/public/form.html" /}
- <div class="form-group col-md-12 col-xs-12">
- <div class="col-xs-12">
- {neq name="btn_hide" value="1"}
- <button class="btn btn-primary btn-flat" type="submit"> 提交 </button>
- {/neq}
- <button class="btn btn-default btn-flat" type="button" onClick="javascript:history.back(-1);return false;"> 返回 </button>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="style"}
- {volist name="set_style" id="s"}<link rel="stylesheet" href="{$s}" />{/volist}
- {/block}
- {block name="script"}
- {volist name="set_script" id="s"}<script type="text/javascript" src="{$s}"></script>{/volist}
- {/block}
|