123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <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">{:__('Product_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-product_id" data-rule="required" data-source="product/index" class="form-control selectpage" data-format-item="{id}-{name}" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Road_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-road_id" data-rule="required" data-source="productroad/index" class="form-control selectpage" data-format-item="{id}-{roadname}" data-field="roadname" name="row[road_id]" type="text" value="{$row.road_id|htmlentities}">
- </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" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
- </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" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Roadtype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-roadtype" class="form-control selectpicker" name="row[roadtype]">
- {foreach name="roadtypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.roadtype"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_qudao')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_qudao" data-rule="required" class="form-control selectpicker" name="row[is_qudao]">
- {foreach name="isQudaoList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_qudao"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </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>
|