12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <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">{:__('Level')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-level" data-rule="required" class="form-control" name="row[level]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Growthvalue')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-growthvalue" data-rule="required" class="form-control" name="row[growthvalue]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Free')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-free" data-rule="required" class="form-control" name="row[free]" 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">
- <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" name="row[price]" type="text" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Day')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-day" data-rule="required" class="form-control" name="row[day]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Vipdiscount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-vipdiscount" data-rule="required" class="form-control" name="row[vipdiscount]" type="number" value="100">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Birthdiscount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-birthdiscount" data-rule="required" class="form-control" name="row[birthdiscount]" type="number" value="100">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Manypeople')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-manypeople" data-rule="required" class="form-control" name="row[manypeople]" 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>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|