Commit 591cae26 by Manzar Hussain

change content

parent 85777cb9
{# {#
/** /**
* @file * @file
* Theme implementation for a 'webform' element. * Default theme implementation for webform submission.
* *
* This is an copy of the webform.html.twig theme_wrapper which includes the * Available variables:
* 'title_prefix' and 'title_suffix' variables needed for * - elements: An array of elements to display in view mode.
* contextual links to appear. * - webform_submission: The webform submission.
* - webform: The webform.
* *
* Available variables * @see template_preprocess_webform_submission()
* - attributes: A list of HTML attributes for the wrapper element.
* - children: The child elements of the webform.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @see template_preprocess_webform()
* @see _webform_form_after_build()
* *
* @ingroup themeable * @ingroup themeable
*/ */
#} #}
<form{{ attributes }}> {%
set classes = [
'webform-submission',
'webform-submission--webform-' ~ webform.id()|clean_class,
webform_submission.isSticky() ? 'webform-submission--sticky',
view_mode ? 'webform-submission--view-mode-' ~ view_mode|clean_class,
]
%}
<div class="row"> <div class="row">
<div class="col-md-6 col-12"> <div class="col-md-6 col-12">
{{ title_prefix }} {{ navigation }}
{{ children }} {{ information }}
{{ title_suffix }} {{ submission }}
</div> </div>
<div class="col-md-6 col-12 d-none d-md-block d-lg-block"> <div class="col-md-6 col-12 d-none d-md-block d-lg-block">
<figure> <figure>
<img src="/themes/custom/envigo/images/contact-form-right.jpg" class="img-fluid" /> <img src="/themes/custom/envigo/images/contact-form-right.jpg" class="img-fluid" />
</figure> </figure>
</div> </div>
</div> </div>
</form> \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment