openquestions-1.0.x-dev/templates/oq-application.html.twig
templates/oq-application.html.twig
{#
/**
* @file
* Default theme implementation to present an oq application entity.
*
* This template is used when viewing a canonical oq application page,
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* print a subset such as 'content.label'.
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_oq_application()
*/
#}
<article{{ attributes }}>
{% if view_mode != 'full' %}
{{ title_prefix }}
{{ title_suffix }}
{% endif %}
{% if content %}
{{- content.attribution -}}
{{- content.application_text_intro -}}
{{- content.application_text -}}
{% if content.field_comments %}
{{ content.field_comments }}
{% endif %}
{% endif %}
</article>
