incubator-alois-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fla...@apache.org
Subject svn commit: r1076150 - /incubator/alois/trunk/rails/app/views/survey/_edit_named_filters.rhtml
Date Wed, 02 Mar 2011 09:13:05 GMT
Author: flavio
Date: Wed Mar  2 09:13:04 2011
New Revision: 1076150

URL: http://svn.apache.org/viewvc?rev=1076150&view=rev
Log:
Removed render component when adding filters

Modified:
    incubator/alois/trunk/rails/app/views/survey/_edit_named_filters.rhtml

Modified: incubator/alois/trunk/rails/app/views/survey/_edit_named_filters.rhtml
URL: http://svn.apache.org/viewvc/incubator/alois/trunk/rails/app/views/survey/_edit_named_filters.rhtml?rev=1076150&r1=1076149&r2=1076150&view=diff
==============================================================================
--- incubator/alois/trunk/rails/app/views/survey/_edit_named_filters.rhtml (original)
+++ incubator/alois/trunk/rails/app/views/survey/_edit_named_filters.rhtml Wed Mar  2 09:13:04
2011
@@ -18,7 +18,10 @@
             <% for filter in @filters %>
             <tr>
               <td><%= filter.name %></td>
-              <td><%= render_component :controller => "filters", :action =>
"show_inline", :id => filter.id %></td>
+              <td><% filter.conditions.each_with_index { |@condition, @condition_index|
 %>                                     
+                       <%= @condition.sql(nil) rescue $! %><br/> 
+                  <% } %>
+              </td>
               <td><%= link_to_remote image_tag("remove.png"), 
                     :before => "table_reload()",
                     :update => 'named_filters', 



Mime
View raw message