diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index c9f710a..fc03b85 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -23,6 +23,7 @@
<%= check_box_tag 'query_is_for_all', 1, @query.project.nil?,
:disabled => (!@query.new_record? && (@query.project.nil? || (@query.is_public? && !User.current.admin?))) %>
+<% unless params[:gantt] %>
+<% else %>
+
+<% end %>
+<% unless params[:gantt] %>
+<% end %>
+<% unless params[:gantt] %>
<%= content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
<%= render_query_columns_selection(query) %>
<% end %>
+<% end %>