Renames the template to _bookmark.twig to indicate that it's a partial template. And uses Twig's include function to include the bookmark template. Extracts the onsubmit event from the form tag. Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
12 lines
320 B
Twig
12 lines
320 B
Twig
<div class="sqlqueryresults ajax">
|
|
{{ previous_update_query|raw }}
|
|
{{ profiling_chart|raw }}
|
|
{{ missing_unique_column_message|raw }}
|
|
{{ bookmark_created_message|raw }}
|
|
{{ table|raw }}
|
|
|
|
{% if bookmark is not empty %}
|
|
{{ include('sql/_bookmark.twig', bookmark, with_context: false) }}
|
|
{% endif %}
|
|
</div>
|