yamlform-submission-information.html.twig in YAML Form 8
Default theme implementation from form submission information.
Available variables: @todo Add variables.
4 theme calls to yamlform-submission-information.html.twig
- YamlFormSubmissionController::index in src/
Controller/ YamlFormSubmissionController.php - Returns a form submission in a specified format type.
- YamlFormSubmissionForm::form in src/
YamlFormSubmissionForm.php - Gets the actual form array to be built.
- YamlFormSubmissionNotesForm::form in src/
YamlFormSubmissionNotesForm.php - Gets the actual form array to be built.
- YamlFormSubmissionResendForm::buildForm in src/
Form/ YamlFormSubmissionResendForm.php - Form constructor.
File
templates/yamlform-submission-information.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation from form submission information.
- *
- * Available variables:
- * @todo Add variables.
- *
- * @see template_preprocess_yamlform_submission_information()
- *
- * @ingroup themeable
- */
- #}
- <details data-yamlform-element-id="{{ yamlform_id }}--submission_information"{% if open %} open="open"{% endif %}>
- <summary role="button"{% if open %} aria-expanded="true" aria-pressed="true"{% endif %}>{{ 'Submission information'|t }}</summary>
- <div class="details-wrapper">
- {% if submissions_view %}
- <div><b>{{ 'Submission Number'|t }}:</b> {{ serial }}</div>
- <div><b>{{ 'Submission ID'|t }}:</b> {{ sid }}</div>
- <div><b>{{ 'Submission UUID'|t }}:</b> {{ uuid }}</div>
- {% if uri %}
- <div><b>{{ 'Submission URI'|t }}:</b> {{ uri }}</div>
- {% endif %}
- {% if token_update %}
- <div><b>{{ 'Submission Update'|t }}:</b> {{ token_update }}</div>
- {% endif %}
- <br/>
- <div><b>{{ 'Created'|t }}:</b> {{ created }}</div>
- <div><b>{{ 'Completed'|t }}:</b> {{ completed }}</div>
- <div><b>{{ 'Changed'|t }}:</b> {{ changed }}</div>
- <br/>
- <div><b>{{ 'Remote IP address'|t }}:</b> {{ remote_addr }}</div>
- <div><b>{{ 'Submitted by'|t }}:</b> {{ submitted_by }}</div>
- <div><b>{{ 'Language'|t }}:</b> {{ language }}</div>
- <br/>
- <div><b>{{ 'Is draft'|t }}:</b> {{ is_draft }}</div>
- {% if current_page %}
- <div><b>{{ 'Current page'|t }}:</b> {{ current_page }}</div>
- {% endif %}
- <div><b>{{ 'Form'|t }}:</b> {{ form }}</div>
- {% if submitted_to %}
- <div><b>{{ 'Submitted to'|t }}:</b> {{ submitted_to }}</div>
- {% endif %}
- {% if sticky or notes %}
- <br/>
- {% if sticky %}
- <div><b>{{ 'Flagged'|t }}:</b> {{ sticky }}</div>
- {% endif %}
- {% if notes %}
- <div><b>{{ 'Notes'|t }}:</b> {{ notes }}</div>
- {% endif %}
- {% endif %}
-
- {% else %}
- <div><b>{{ 'Submission ID'|t }}:</b> {{ sid }}</div>
- <div><b>{{ 'Created'|t }}:</b> {{ created }}</div>
- {% endif %}
-
- </div>
- </details>