{#
/**
 * @file
 * Theme implementation for a 'yamlform' element.
 *
 * This is an copy of the form.html.twig theme_wrapper which includes the
 * 'title_prefix' and 'title_suffix' variables needed for
 * contextual links to appear.
 *
 * Available variables
 * - attributes: A list of HTML attributes for the wrapper element.
 * - children: The child elements of the form.
 * - 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_yamlform()
 * @see _yamlform_form_after_build()
 *
 * @ingroup themeable
 */
#}
<form{{ attributes }}>
  {{ title_prefix }}
  {{ children|render|str_replace_first('class="form-actions', 'class="form-actions col-md-12')|str_replace_first('form-submit', 'form-submit submit-btn')|raw }}
  {{ title_suffix }}
</form>
