94 lines
4.3 KiB
HTML
94 lines
4.3 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">{:__('Manystore_id')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-manystore_id" data-rule="required" data-source="manystore/index" class="form-control selectpage" name="row[manystore_id]" type="text" value="">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Shop_id')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-shop_id" data-rule="required" data-source="manystore/shop/index" class="form-control selectpage" name="row[shop_id]" type="text" value="">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Classes_activity_id')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-classes_activity_id" data-rule="required" data-source="school/classes/activity/index" class="form-control selectpage" name="row[classes_activity_id]" type="text" value="">
|
||
|
</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">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Limit_num')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-limit_num" class="form-control" name="row[limit_num]" type="number" value="0">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Age')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-age" class="form-control" name="row[age]" type="text">
|
||
|
</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="1"}checked{/in} /> {$vo}</label>
|
||
|
{/foreach}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
|
||
|
<select id="c-sex" data-rule="required" class="form-control selectpicker" name="row[sex]">
|
||
|
{foreach name="sexList" item="vo"}
|
||
|
<option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
|
||
|
{/foreach}
|
||
|
</select>
|
||
|
|
||
|
</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">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Sign_num')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-sign_num" class="form-control" name="row[sign_num]" type="number" value="0">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Verification_num')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-verification_num" class="form-control" name="row[verification_num]" type="number">
|
||
|
</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>
|