{{#if theme}}
  <div class="t-{{theme}}">
{{/if}}

<div class="c-jump-box">
  <form id="{{id}}" class="c-form" action="{{action}}">
    <fieldset class="c-form__fieldset">
      <legend class="c-form__legend u-visually-hidden">{{legend}}</legend>
      {{!--
      Wrapper div is required because fieldsets don't play nicely with flexbox:
      https://stackoverflow.com/questions/35464067/flexbox-not-working-on-button-or-fieldset-elements
      --}}
      <div class="c-jump-box__form-fields">
        {{> form-field-select fields.select}}
        {{> form-field-button fields.submit}}
      </div>
    </fieldset>
  </form>
</div>

{{#if theme}}
  </div>
{{/if}}
