1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <form id="edit-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" readonly data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
- </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" readonly data-rule="required" class="form-control" name="row[level]" type="text" value="{$row.level|htmlentities}">
- </div>
- </div>
- {if $row['id'] != 1}
- <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="{$row.growthvalue|htmlentities}">
- </div>
- </div>
- {/if}
- <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="{$row.free|htmlentities}">
- </div>
- </div>
- {if $row['id'] != 1}
- <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="$row.status"}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="{$row.price|htmlentities}">
- </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="{$row.day|htmlentities}">
- </div>
- </div>
- {/if}
- <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="{$row.vipdiscount|htmlentities}">
- </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="{$row.birthdiscount|htmlentities}">
- </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="{$row.manypeople|htmlentities}">
- </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>
|