- Query
+ Query search
@@ -37,44 +37,7 @@ Query your corpus with the CQP query language utilizing a KWIC view.
{{ expert_mode.card_content(id_prefix) }}
- {# {{ query_builder.card_content(id_prefix) }} #}
-
+ {{ query_builder.card_content(id_prefix) }}
@@ -164,25 +127,13 @@ Query your corpus with the CQP query language utilizing a KWIC view.
{% endset %}
{% set modals %}
-
-
-
Which structural attribute do you want to add to your query?help_outline
-
-
-
-
+{{ query_builder.structural_attribute_modal() }}
+{{ query_builder.positional_attribute_modal() }}
{% endset %}
{% set scripts %}
+{# {{ query_builder.scripts() }} #}
{% endset %}
diff --git a/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2 b/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2
index 5ddedac9..a73c1295 100644
--- a/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2
+++ b/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2
@@ -1,32 +1,38 @@
{% macro card_content(id_prefix) %}
-