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.
72 lines
4.1 KiB
72 lines
4.1 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" 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">{:__('Wx_category_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-wx_category_id" data-rule="required" 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">{:__('Title')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Sectitle')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-sectitle" class="form-control" name="row[sectitle]" type="text" value="{$row.sectitle|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Listimage')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<div class="input-group">
|
|
<input id="c-listimage" class="form-control" size="50" name="row[listimage]" type="text" value="{$row.listimage|htmlentities}">
|
|
<div class="input-group-addon no-border no-padding">
|
|
<span><button type="button" id="faupload-listimage" class="btn btn-danger faupload" data-input-id="c-listimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-listimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
|
|
<span><button type="button" id="fachoose-listimage" class="btn btn-primary fachoose" data-input-id="c-listimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
|
|
</div>
|
|
<span class="msg-box n-right" for="c-listimage"></span>
|
|
</div>
|
|
<ul class="row list-inline faupload-preview" id="p-listimage"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Recdata')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<div class="radio">
|
|
{foreach name="recdataList" item="vo"}
|
|
<label for="row[recdata]-{$key}"><input id="row[recdata]-{$key}" name="row[recdata]" type="radio" value="{$key}" {in name="key" value="$row.recdata"}checked{/in} /> {$vo}</label>
|
|
{/foreach}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Counts')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-counts" class="form-control" name="row[counts]" type="number" value="{$row.counts|htmlentities}">
|
|
</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>
|
|
|