<fieldset>
    {% include 'm_components/form/input/text.twig' with { label: "title", value: title, title_text: __("Title", constant('M_TD') ), class: "widefat" } %}
    {% include 'm_components/form/input/editor.twig' with { label: "text", value: text, title_text: __("Description", constant('M_TD')), class: "text-text" } %}
</fieldset>

<fieldset>
    {% include 'm_components/form/input/text.twig' with { label: "subtitle", value: subtitle, title_text: __("Form title", constant('M_TD') ), class: "widefat" } %}
    {% include 'm_components/form/input/editor.twig' with { label: "subtext", value: subtext, title_text: __("Form description", constant('M_TD') ), class: "text-text" } %}
</fieldset>

<fieldset>
    <label for="{{ widget.get_field_id('form')|raw }}">{{__("Select a form", constant('M_TD') ) }}</label>
    <select class="widefat" id="{{ widget.get_field_id('form') |raw }}" value="{{ form|raw }}" name="{{widget.get_field_name('form')|raw}}">
            {% for key, item in forms %}
                <option {% if form == key %}selected{% endif %} value="{{key}}">{{item}}</option>
            {% endfor %}
    </select>

</fieldset>
