{{ form_errors(form) }} {{ form_start(form, {'attr': {'novalidate': 'novalidate', 'class': 'form d-flex flex-column flex-lg-row'}}) }} {{ form_errors(form) }}

General

{{ form_label(form.title, 'Banner Title', {'label_attr': {'class': 'required form-label'}}) }} {{ form_widget(form.title, {'attr': {'class': 'form-control mb-2', 'placeholder': 'Banner title'}})}}
{{ form_errors(form.title) }}
A banner title is required and recommended to be unique.

Thumbnail

Set the category thumbnail image. Only *.png, *.jpg and *.jpeg image files are accepted
{{ form_errors(form.bannerDoc) }}

Banner Options

{{ form_label(form.type, 'Select a banner type', {'label_attr': {'class': 'required form-label'}}) }} {{ form_widget(form.type, {'attr': {'class': 'form-select mb-2 block w-full px-3 text-xs font-normal text-content3 bg-white bg-clip-padding bg-no-repeat border border-border-light rounded-5 transition ease-in-out m-0 min-w-[150px] py-[9px] dark:border-border-dark dark:bg-sidebar-dark2', 'placeholder': 'Select a banner type'}})}}
{{ form_errors(form.type) }}
Select a type as banner type.
{{ form_widget(form.isActive, {'attr': {'class': 'form-select mb-2 block w-full px-3 text-xs font-normal text-content3 bg-white bg-clip-padding bg-no-repeat border border-border-light rounded-5 transition ease-in-out m-0 min-w-[150px] py-[9px] dark:border-border-dark dark:bg-sidebar-dark2', 'placeholder': 'Select an option'}})}}
{{ form_errors(form.isActive) }} {# #}
Set the banner status.
Cancel {% if banner.uuid != null %} Delete {% endif %}
{{ form_end(form) }} {% if banner.uuid != null %}
{% endif %}