app/views/campaigns/index.html.haml in fat_free_crm-0.11.1 vs app/views/campaigns/index.html.haml in fat_free_crm-0.11.2
- old
+ new
@@ -9,10 +9,10 @@
.title
%span#create_campaign_title #{t :campaigns}
= image_tag("loading.gif", :size => :thumb, :id => "loading", :style => "display: none;")
.remote#options{ hidden }
.remote#advanced_search{ hidden_if(!params[:q]) }
- - if @search
+ - if params[:q]
= render :partial => "advanced_search"
.remote#create_campaign{ hidden }
.list#campaigns
- if @campaigns.any?