filter.execute(self, :user => current_user)
@widget_title = link_to h(filter.name), {:controller => 'measures', :action => 'filter', :id => filter.id, :display => 'list'}
%>
- <% if filter.description.present? %><p><%= h filter.description -%></p><% end %>
<%= render :partial => "measures/display_#{filter.display.key}", :locals => {:edit_mode => false, :widget => widget, :filter => filter} %>
<%
end
@widget_title = link_to h(filter.name), url_options
%>
- <% if filter.description.present? %><p><%= h filter.description -%></p><% end %>
<%= render :partial => "measures/display_#{filter.display.key}", :locals => {:edit_mode => false, :widget => widget, :filter => filter} %>
<%
end