File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11111212    }
1313  ],
14-   "version" : " 0.2.3 " 
14+   "version" : " 0.2.4 " 
1515  "require" : {
1616    "illuminate/html" : " 5.0.*@dev" 
1717  },
Original file line number Diff line number Diff line change @@ -127,15 +127,16 @@ private function buildTable()
127127        foreach  ($ this fields  as  $ field
128128            // Check if there is no duplication for radio and checkbox. 
129129            // Password fields are excluded from the table too. 
130-             if  (!in_array ($ fieldtitle , $ used$ fieldtype  != 'password '  && $ fieldshow  == 1 ) {
130+             if  (!in_array ($ fieldtitle , $ used
131+                 && $ fieldtype  != 'password ' 
132+                 && $ fieldtype  != 'textarea ' 
133+                 && $ fieldshow  == 1 
134+             ) {
131135                $ headings"<th> $ fieldlabel </th> \r\n" ;
132136                // Format our table column by field type 
133137                if  ($ fieldtype  == 'relationship ' ) {
134138                    $ columns'<td>{{ $row-> '  . $ fieldrelationship_name  . '-> '  . $ fieldrelationship_field  . " }}</td> \r\n" ;
135139                    $ used$ fieldrelationship_field ] = $ fieldrelationship_field ;
136-                 } elseif  ($ fieldtype  == 'textarea ' ) {
137-                     $ columns'<td>{!! $row-> '  . $ fieldtitle  . " !!}</td> \r\n" ;
138-                     $ used$ fieldtitle ] = $ fieldtitle ;
139140                } else  {
140141                    $ columns'<td>{{ $row-> '  . $ fieldtitle  . " }}</td> \r\n" ;
141142                    $ used$ fieldtitle ] = $ fieldtitle ;
Original file line number Diff line number Diff line change @@ -131,6 +131,6 @@ public function insert(Request $request)
131131        // Destroy our cache file 
132132        $ cachedestroy ('fieldsinfo ' );
133133
134-         return  redirect (' qa ' 
134+         return  redirect (config ( ' quickadmin.route ' ) );
135135    }
136136}
Original file line number Diff line number Diff line change 22    <div  class =" page-header-inner" 
33        <div  class =" page-header-inner" 
44            <div  class =" navbar-header" 
5-                 <a  href =" {{  url (' qa '  } }" class =" navbar-brand" 
5+                 <a  href =" {{  url (config ( ' quickadmin.route ' ) )  } }" class =" navbar-brand" 
66                    QuickAdmin
77                </a >
88            </div >
Original file line number Diff line number Diff line change 3636
3737        <!--  Use ckeditor on textarea field --> 
3838        <select  name =" f_texteditor[]" class =" form-control texteditor" style =" display none ;" 
39-             <option >Use CKEDITOR</option >
40-             <option  value =" 1" 
41-                     @if ($key  ==  old (' f_texteditor.' . $index )selected  @endif >Yes
42-             </option >
4339            <option  value =" 0" 
44-                     @if ($key  ==  old (' f_texteditor.' . $index )selected  @endif >No
40+                     @if ($key  ==  old (' f_texteditor.' . $index )selected  @endif >Don't use CKEDITOR
41+             </option >
42+             <option  value =" 1" 
43+                     @if ($key  ==  old (' f_texteditor.' . $index )selected  @endif >Use CKEDITOR
4544            </option >
4645        </select >
4746        <!--  /Use ckeditor on textarea field --> 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments