作者 王智

daima

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