作者 王智

daima

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