留学万象
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
2.4 KiB

<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Wx_menu_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-wx_menu_id" data-rule="required" placeholder="请选择菜单" data-source="wx/menu/index" class="form-control selectpage" name="row[wx_menu_id]" type="text" value="{$row.wx_menu_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Wx_category_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-wx_category_id" placeholder="顶级栏目" data-source="wx/category/index" class="form-control selectpage" name="row[wx_category_id]" type="text" value="{$row.wx_category_id|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Catedata')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="radio">
{foreach name="catedataList" item="vo"}
<label for="row[catedata]-{$key}"><input id="row[catedata]-{$key}" name="row[catedata]" type="radio" value="{$key}" {in name="key" value="$row.catedata"}checked{/in} /> {$vo}</label>
{/foreach}
</div>
</div>
</div>
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>