123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <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">{:__('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="">
- </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="">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufatype')}:</label>
- <div class="col-xs-12 col-sm-8">
- <select id="c-chufatype" class="form-control selectpicker" name="row[chufatype]">
- {foreach name="chufatypeList" item="vo"}
- <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufaname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chufaname" class="form-control" name="row[chufaname]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-latitude" class="form-control" name="row[latitude]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-longitude" class="form-control" name="row[longitude]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">地图选点:</label>
- <div class="col-xs-12 col-sm-8">
- <a target="_blank" href="https://lbs.qq.com/getPoint" >腾讯地图</a>
- </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>
|