更新功能
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
</header>
|
||||
<div class="main-box-body clearfix">
|
||||
<form action="{:url()}" method="post" class="form form-horizontal">
|
||||
<form method="post" class="form form-horizontal">
|
||||
<div class="tabs-wrapper">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active">
|
||||
@@ -20,8 +20,12 @@
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">上级分类</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="hidden" name="pid" value="{$category['id']|default=0}">
|
||||
<input type="text" class="form-control" disabled="disabled" value="{$category['title']|default='无'}"/>
|
||||
<select class="form-control" style="width: auto" name="pid">
|
||||
<option value="">请选择</option>
|
||||
{volist name="category" id="item"}
|
||||
<option value="{$item['id']}" {if isset($info['pid']) && $item['id'] == $info['pid']}selected{/if}>{$item['title_show']|raw}</option>
|
||||
{/volist}
|
||||
</select>
|
||||
<span class="help-block"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user