123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <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">{:__('Chepaihao')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chepaihao" class="form-control" name="row[chepaihao]" type="text" value="{$row.chepaihao|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-color" class="form-control" name="row[color]" type="text" value="{$row.color|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chepaicolor')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-chepaicolor" data-rule="required" class="form-control selectpicker" name="row[chepaicolor]">
- {foreach name="chepaicolorList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.chepaicolor"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-type" class="form-control" name="row[type]" type="text" value="{$row.type|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Brand')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-brand" class="form-control" name="row[brand]" type="text" value="{$row.brand|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Xinghao')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-xinghao" class="form-control" name="row[xinghao]" type="text" value="{$row.xinghao|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chejia')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chejia" class="form-control" name="row[chejia]" type="text" value="{$row.chejia|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fadongji')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fadongji" class="form-control" name="row[fadongji]" type="text" value="{$row.fadongji|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Licheng')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-licheng" class="form-control" name="row[licheng]" type="number" value="{$row.licheng|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_etc')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_etc" data-rule="required" class="form-control selectpicker" name="row[is_etc]">
- {foreach name="isEtcList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_etc"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Power')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-power" data-rule="required" class="form-control selectpicker" name="row[power]">
- {foreach name="powerList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.power"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Seatnum')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-seatnum" class="form-control" name="row[seatnum]" type="number" value="{$row.seatnum|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Xingshi_num')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-xingshi_num" class="form-control" name="row[xingshi_num]" type="text" value="{$row.xingshi_num|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Xingshi_images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-xingshi_images" class="form-control" size="50" name="row[xingshi_images]" type="text" value="{$row.xingshi_images|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-xingshi_images" class="btn btn-danger faupload" data-input-id="c-xingshi_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-xingshi_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-xingshi_images" class="btn btn-primary fachoose" data-input-id="c-xingshi_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-xingshi_images"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-xingshi_images"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Yingyun_images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-yingyun_images" class="form-control" size="50" name="row[yingyun_images]" type="text" value="{$row.yingyun_images|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-yingyun_images" class="btn btn-danger faupload" data-input-id="c-yingyun_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-yingyun_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-yingyun_images" class="btn btn-primary fachoose" data-input-id="c-yingyun_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-yingyun_images"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-yingyun_images"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Zhucetime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-zhucetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[zhucetime]" type="text" value="{:$row.zhucetime?datetime($row.zhucetime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Department')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-department" class="form-control" name="row[department]" type="text" value="{$row.department|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Leasetype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-leasetype" data-rule="required" class="form-control selectpicker" name="row[leasetype]">
- {foreach name="leasetypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.leasetype"}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>
|