{%- extends 'base_templates/page_base_half.html' %} {%- block content %} {%- from "base_templates/form_macros.html" import render_field, render_file_field, render_select_field, render_submit_field with context %} {%- if fields %}
{{ word('Here is the start of a question you can use to assemble the %s template.' % (file_type.upper(),)) }}
{%- if file_type == 'docx' %}{{ word("Note that you can use a DOCX template file directly; 'fields' is only necessary in the rare case when the variable names in your DOCX file do not correspond with the variable names in your interview.") }}
{%- endif %}{{ fields }}{%- endif %} {%- if word_box %}
{{ word("Here is the start of a YAML file you can import with a 'words' directive in your Configuration.") }}
{{ word("Copy from here and paste into a YAML file, e.g., in the Sources folder of the Playground or the sources folder of a package.") }}
{% if uses_null %}{{ word("Replace each instance of Null with a quoted translation.") }}
{%- endif %} {%- endif %}