No notes defined.
{% extends '@uol-widget' %}
{% block widget_content %}
{% render '@uol-form-pattern', { form: form } %}
{% endblock %}
<div class="uol-widget-container">
<div class="uol-widget">
<div class="uol-widget__content">
<div class="uol-form__container uol-form-container--centered uol-form-container--overflow">
<div class="uol-form__inner-wrapper">
<form class="uol-form" action="/example-form-action" role=search>
<div class="uol-form__input-group uol-form__input-group--inline">
<div class="uol-form__input-container
">
<label class="uol-form__input-label" for="cheeseList-1" id="cheeseList-1-label">
<span class="uol-form__input-label__text">Which subject matter does your event relate to?</span>
<span class="uol-form__input-label__hint" id="cheeseList-1-hint">Select one type </span>
</label>
<div class="uol-form__input-wrapper " data-field-invalid=false>
<select class="uol-form__input uol-form__input--select " name="selectName1" id="cheeseList-1" aria-label="Select Which subject matter does your event relate to?">
<option value="">Select an option</option>
<option value="BRI">Brie</option>
<option value="CBL">Cashel Blue</option>
<option value="CHE">Cheddar</option>
<option value="CYA">Cornish Yarg</option>
<option value="EDA">Edam</option>
<option value="MAN">Manchego</option>
<option value="PRE">Parmigiano-Reggiano</option>
<option value="SBL">Shropshire Blue</option>
<option value="STI">Stilton</option>
<option value="SBI">Stinking Bishop</option>
<option value="WEN">Wensleydale</option>
</select>
<svg class="uol-form__input__chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" focusable="false" aria-hidden="true">
<path fill="none" d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" />
</svg>
</div>
</div>
<div class="uol-form__input-container
">
<label class="uol-form__input-label" for="cheeseList-2" id="cheeseList-2-label">
<span class="uol-form__input-label__text">Which subject matter does your event relate to?</span>
<span class="uol-form__input-label__hint" id="cheeseList-2-hint">Select one type </span>
</label>
<div class="uol-form__input-wrapper " data-field-invalid=false>
<select class="uol-form__input uol-form__input--select " name="selectName1" id="cheeseList-2" aria-label="Select Which subject matter does your event relate to?">
<option value="">Select an option</option>
<option value="BRI">Brie</option>
<option value="CBL">Cashel Blue</option>
<option value="CHE">Cheddar</option>
<option value="CYA">Cornish Yarg</option>
<option value="EDA">Edam</option>
<option value="MAN">Manchego</option>
<option value="PRE">Parmigiano-Reggiano</option>
<option value="SBL">Shropshire Blue</option>
<option value="STI">Stilton</option>
<option value="SBI">Stinking Bishop</option>
<option value="WEN">Wensleydale</option>
</select>
<svg class="uol-form__input__chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" focusable="false" aria-hidden="true">
<path fill="none" d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" />
</svg>
</div>
</div>
</div>
<div class="uol-form--button-inline">
<div class="uol-form__inputs-wrapper">
<div class="uol-form__input-container
">
<label class="uol-form__input-label" for="inputId2">
<span class="uol-form__input-label__text">Search by subject, course title or keyword</span>
</label>
<div class="uol-form__input-wrapper
uol-form__input-wrapper--search
uol-form__input-wrapper--with-icon " data-field-invalid=false>
<!-- -->
<input class="uol-form__input uol-form__input--search" type="search" id="inputId2" name="searchCourses2" aria-invalid="false" value="" autocomplete="off">
<!-- -->
</div>
</div>
</div>
<div class="uol-form__button-wrapper">
<button class="uol-button uol-button--primary
" type="submit">Search</button>
</div>
</div>
</form>
<div class="uol-rich-text">
<div class="uol-form__additional-content uol-form__additional-content--after">
<p>Or <a href="#">link to other site</a>.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{
"form": {
"heading_level": "h2",
"form_centered": true,
"action": "/example-form-action",
"title": null,
"lead": null,
"additional_info_before": null,
"button": {
"content": "Search",
"type": "submit",
"style": "primary"
},
"fields": [
{
"type": "search",
"id": "inputId2",
"name": "searchCourses2",
"label": "Search by subject, course title or keyword",
"invalid": "false",
"autocomplete": "off",
"has_icon": true
}
],
"overflow": true,
"additional_info_after": "<p>Or <a href=\"#\">link to other site</a>.</p>",
"form_group": {
"inline_fields": true,
"fields": [
{
"type": "select",
"label": "Which subject matter does your event relate to?",
"id": "cheeseList-1",
"name": "selectName1",
"hint": "Select one type",
"options": [
{
"label": "Brie",
"value": "BRI"
},
{
"label": "Cashel Blue",
"value": "CBL"
},
{
"label": "Cheddar",
"value": "CHE"
},
{
"label": "Cornish Yarg",
"value": "CYA"
},
{
"label": "Edam",
"value": "EDA"
},
{
"label": "Manchego",
"value": "MAN"
},
{
"label": "Parmigiano-Reggiano",
"value": "PRE"
},
{
"label": "Shropshire Blue",
"value": "SBL"
},
{
"label": "Stilton",
"value": "STI"
},
{
"label": "Stinking Bishop",
"value": "SBI"
},
{
"label": "Wensleydale",
"value": "WEN"
}
]
},
{
"type": "select",
"label": "Which subject matter does your event relate to?",
"id": "cheeseList-2",
"name": "selectName1",
"hint": "Select one type",
"options": [
{
"label": "Brie",
"value": "BRI"
},
{
"label": "Cashel Blue",
"value": "CBL"
},
{
"label": "Cheddar",
"value": "CHE"
},
{
"label": "Cornish Yarg",
"value": "CYA"
},
{
"label": "Edam",
"value": "EDA"
},
{
"label": "Manchego",
"value": "MAN"
},
{
"label": "Parmigiano-Reggiano",
"value": "PRE"
},
{
"label": "Shropshire Blue",
"value": "SBL"
},
{
"label": "Stilton",
"value": "STI"
},
{
"label": "Stinking Bishop",
"value": "SBI"
},
{
"label": "Wensleydale",
"value": "WEN"
}
]
}
]
},
"button_inline": true
}
}