12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <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">{:__('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="">
- </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="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
- {foreach name="typeList" item="vo"}
- <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-money" data-rule="required" class="form-control" name="row[money]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Minmoney')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-minmoney" data-rule="required" class="form-control" name="row[minmoney]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Purpose')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-purpose" data-rule="required" class="form-control selectpicker" name="row[purpose]">
- {foreach name="purposeList" item="vo"}
- <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Effectiveday')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-effectiveday" data-rule="required" class="form-control" name="row[effectiveday]" type="number" value="0">
- </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" data-rule="required" 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">{:__('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="0"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </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>
|