1234567891011121314151617181920212223242526272829303132333435 |
- <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">{:__('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=""}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Roadname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-roadname" class="form-control" name="row[roadname]" type="text" value="">
- </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>
|