101 lines
4.4 KiB
HTML
101 lines
4.4 KiB
HTML
<form id="add-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=""}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="system"}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="">
|
|
</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="system"}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="">
|
|
</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="system"}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="other"}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">
|
|
</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">
|
|
</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">
|
|
</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>
|