45 lines
1.5 KiB
HTML
45 lines
1.5 KiB
HTML
{extend name="admin/public/base"/}
|
|
{block name="body"}
|
|
<div class="box box-primary">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">{$meta_title}</h3>
|
|
<div class="box-tools pull-right">
|
|
</div>
|
|
</div>
|
|
<div class="box-body">
|
|
<form method="post" class="form form-horizontal" role="form">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th class="col-lg-2 text-right">模块</th>
|
|
<th>分组</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{volist name="config['user_group_type']" id="group"}
|
|
<tr>
|
|
<td class="info col-lg-2 text-right">{$group['label']}</td>
|
|
<td class="col-lg-10 text-left">
|
|
{if isset($list[$group['key']])}
|
|
{volist name="list[$group['key']]" id="item"}
|
|
<div class="radio radio-inline">
|
|
<label for="{$item['module']}-{$item['id']}"><input type="radio" name="{$item['module']}" value="{$item['id']}" id="{$item['module']}-{$item['id']}" {if condition="in_array($item['id'],$auth_list)"}checked{/if} /> {$item['title']}</label>
|
|
</div>
|
|
{/volist}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/volist}
|
|
</tbody>
|
|
</table>
|
|
<div class="form-group">
|
|
<div class="col-lg-offset-2 col-lg-10">
|
|
<input type="hidden" name="uid" value="{$uid}">
|
|
<button type="submit" class="btn btn-success submit-btn">确认提交</button>
|
|
<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{/block} |