作者 王智

daima

@@ -3,35 +3,47 @@ @@ -3,35 +3,47 @@
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 - <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}"> 28 + <textarea id="c-title" data-rule="required" class="form-control" name="row[title]" type="text"
  29 + value="{$row.title|htmlentities}">
  30 + </textarea>
25 </div> 31 </div>
26 </div> 32 </div>
27 <div class="form-group"> 33 <div class="form-group">
28 <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label> 34 <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
29 <div class="col-xs-12 col-sm-8"> 35 <div class="col-xs-12 col-sm-8">
30 <div class="input-group"> 36 <div class="input-group">
31 - <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}"> 37 + <input id="c-images" class="form-control" size="50" name="row[images]" type="text"
  38 + value="{$row.images|htmlentities}">
32 <div class="input-group-addon no-border no-padding"> 39 <div class="input-group-addon no-border no-padding">
33 - <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>  
34 - <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> 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>
35 </div> 47 </div>
36 <span class="msg-box n-right" for="c-images"></span> 48 <span class="msg-box n-right" for="c-images"></span>
37 </div> 49 </div>