101 lines
4.6 KiB
HTML
101 lines
4.6 KiB
HTML
<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">{:__('Platform')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-platform" class="form-control selectpicker" multiple="" name="row[platform][]">
|
|
{foreach name="platformList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.platform"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Oper_type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-oper_type" data-rule="required" class="form-control selectpicker" name="row[oper_type]">
|
|
{foreach name="operTypeList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.oper_type"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Oper_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-oper_id" data-rule="required" data-source="oper/index" class="form-control selectpage" name="row[oper_id]" type="text" value="{$row.oper_id|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('To_type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-to_type" data-rule="required" class="form-control selectpicker" name="row[to_type]">
|
|
{foreach name="toTypeList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.to_type"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('To_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-to_id" data-rule="required" data-source="to/index" class="form-control selectpage" name="row[to_id]" type="text" value="{$row.to_id|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<div class="radio">
|
|
{foreach name="statusList" item="vo"}
|
|
<label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
|
|
{/foreach}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Mini_type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<select id="c-mini_type" data-rule="required" class="form-control selectpicker" name="row[mini_type]">
|
|
{foreach name="miniTypeList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.mini_type"}selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
|
|
</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">{:__('Desc')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-desc" data-rule="required" class="form-control" name="row[desc]" type="text" value="{$row.desc|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Params')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-params" class="form-control" name="row[params]" type="text" value="{$row.params|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-success btn-embossed disabled">{:__('OK')}</button>
|
|
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|