DiverseYouthNightSchool/application/admin/view/school/message/add.html

108 lines
4.6 KiB
HTML
Raw Normal View History

<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" class="form-control" 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" class="form-control" 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">
<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="0">
</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>
</div>
</div>
</form>