12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <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">{:__('Money')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-money" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gold')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-gold" class="form-control" name="row[gold]" type="number" value="{$row.gold|htmlentities}">
- </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" 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">{:__('Is_show')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_show" data-rule="required" class="form-control selectpicker" name="row[is_show]">
- {foreach name="isShowList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_show"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weight" class="form-control" name="row[weight]" type="number" value="{$row.weight|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('First_gold')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-first_gold" class="form-control" name="row[first_gold]" type="number" value="{$row.first_gold|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('First_vipdays')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-first_vipdays" class="form-control" name="row[first_vipdays]" type="number" value="{$row.first_vipdays|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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|