后台表单提交方式
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<h3 class="box-title">{$meta_title}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<form method="post" class="form form-horizontal">
|
||||
<form method="post" class="form form-horizontal" role="form">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">配置标识</label>
|
||||
<div class="col-sm-8">
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
</select>
|
||||
{/case}
|
||||
{case value="bool"}
|
||||
<input id="c-switch" name="config[{$item['name']}]" type="hidden" value="0">
|
||||
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-switch" data-yes="1" data-no="0" >
|
||||
<i class="fa fa-toggle-on text-success {eq name="item['value']" value="$key"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
|
||||
<input id="switch_{$item['name']}" name="config[{$item['name']}]" type="hidden" value="0">
|
||||
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="switch_{$item['name']}" data-yes="1" data-no="0" >
|
||||
<i class="fa fa-toggle-on text-success {eq name="item['value']" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
|
||||
</a>
|
||||
{/case}
|
||||
{case value="image"}
|
||||
|
||||
Reference in New Issue
Block a user