作者 王智

daima

@@ -3,30 +3,25 @@ @@ -3,30 +3,25 @@
3 <div class="form-group"> 3 <div class="form-group">
4 <label class="control-label col-xs-12 col-sm-2">{:__('Seller_id')}:</label> 4 <label class="control-label col-xs-12 col-sm-2">{:__('Seller_id')}:</label>
5 <div class="col-xs-12 col-sm-8"> 5 <div class="col-xs-12 col-sm-8">
6 - <input id="c-seller_id" data-rule="required" data-source="seller/index" data-field="title"  
7 - class="form-control selectpage" name="row[seller_id]" type="text"  
8 - value="{$row.seller_id|htmlentities}"> 6 + <input id="c-seller_id" data-rule="required" data-source="seller/index" data-field="title" class="form-control selectpage" name="row[seller_id]" type="text" value="{$row.seller_id|htmlentities}">
9 </div> 7 </div>
10 </div> 8 </div>
11 <div class="form-group"> 9 <div class="form-group">
12 <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label> 10 <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
13 <div class="col-xs-12 col-sm-8"> 11 <div class="col-xs-12 col-sm-8">
14 - <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname"  
15 - class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}"> 12 + <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
16 </div> 13 </div>
17 </div> 14 </div>
18 <div class="form-group"> 15 <div class="form-group">
19 <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label> 16 <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
20 <div class="col-xs-12 col-sm-8"> 17 <div class="col-xs-12 col-sm-8">
21 - <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number"  
22 - value="{$row.num|htmlentities}"> 18 + <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
23 </div> 19 </div>
24 </div> 20 </div>
25 <div class="form-group"> 21 <div class="form-group">
26 <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label> 22 <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
27 <div class="col-xs-12 col-sm-8"> 23 <div class="col-xs-12 col-sm-8">
28 - <textarea id="c-title" data-rule="required" class="form-control" name="row[title]" type="text"  
29 - value="{$row.title|htmlentities}"> 24 + <textarea id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
30 </textarea> 25 </textarea>
31 </div> 26 </div>
32 </div> 27 </div>
@@ -34,16 +29,10 @@ @@ -34,16 +29,10 @@
34 <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label> 29 <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
35 <div class="col-xs-12 col-sm-8"> 30 <div class="col-xs-12 col-sm-8">
36 <div class="input-group"> 31 <div class="input-group">
37 - <input id="c-images" class="form-control" size="50" name="row[images]" type="text"  
38 - value="{$row.images|htmlentities}"> 32 + <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
39 <div class="input-group-addon no-border no-padding"> 33 <div class="input-group-addon no-border no-padding">
40 - <span><button type="button" id="plupload-images" class="btn btn-danger plupload"  
41 - data-input-id="c-images"  
42 - data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"  
43 - data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>  
44 - <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose"  
45 - data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i  
46 - class="fa fa-list"></i> {:__('Choose')}</button></span> 34 + <span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  35 + <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
47 </div> 36 </div>
48 <span class="msg-box n-right" for="c-images"></span> 37 <span class="msg-box n-right" for="c-images"></span>
49 </div> 38 </div>