Clean copy of webform confirmation template from webform module
In preparation for overriding. Ref agaric/sites/agaric-coop#241
This commit is contained in:
parent
5c64104e87
commit
57c713c4f9
1 changed files with 34 additions and 0 deletions
34
agaric/templates/webform/webform-confirmation.html.twig
Normal file
34
agaric/templates/webform/webform-confirmation.html.twig
Normal file
|
@ -0,0 +1,34 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to webform confirmation.
|
||||
*
|
||||
* Available variables:
|
||||
* - progress: Progress bar.
|
||||
* - message: Confirmation message.
|
||||
* - back_url: URL to the previous webform submission.
|
||||
*
|
||||
* @see template_preprocess_webform_confirmation()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{{ attach_library('webform/webform.confirmation') }}
|
||||
|
||||
{% if progress %}
|
||||
{{ progress }}
|
||||
{% endif %}
|
||||
|
||||
<div{{ attributes.addClass('webform-confirmation') }}>
|
||||
|
||||
{% if message %}
|
||||
<div class="webform-confirmation__message">{{ message }}</div>
|
||||
{% endif %}
|
||||
|
||||
{% if back %}
|
||||
<div class="webform-confirmation__back">
|
||||
<a href="{{ back_url }}" rel="prev"{{ back_attributes }}>{{ back_label }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
Loading…
Reference in a new issue