__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
{% extends default ? "partials/field.html.twig" : 'forms/' ~ layout|default('field') ~ '.html.twig' %}
{% block input %}
<div class="settings-block"><div class="input-group">
{% set label = field.picker_label|default('Pick a Widget'|trans) %}
{% set alt_label = field.picker_label_alt|default('Edit Widget'|trans) %}
{% set value_array = value and value is iterable ? value : value|json_decode %}
{% set value_json = value and value is iterable ? value|json_encode : value %}
<span class="g-instancepicker-title">{{ value_array.title|default('') }}</span><button class="button" data-g-instancepicker="{{ { type: 'widget', field: (scope ~ name)|fieldName }|json_encode|e('html_attr') }}" data-g-instancepicker-text="{{ label }}" data-g-instancepicker-alttext="{{ alt_label }}">{{ value ? alt_label : label }}</button>
<input
type="hidden"
name="{{ (scope ~ name)|fieldName }}"
{# value="{{ value ? value|json_encode(constant('JSON_UNESCAPED_UNICODE')) }}" #}
value="{{ value_json|e('html_attr') }}"
{# global attribute structures #}
{{ block('global_attributes') }}
{# non-gloval attribute structures #}
{% if field.disabled in ['on', 'true', 1] %}disabled="disabled"{% endif %}
{% if field.required in ['on', 'true', 1] %}required="required"{% endif %}
/>
<span class="g-reset-field" data-g-reset-field="{{ (scope ~ name)|fieldName }}"><i class="fa fa-fw fa-times-circle" aria-hidden="true"></i></span>
</div></div>
{% endblock %}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| atoms.html.twig | File | 1.4 KB | 0775 |
|
| inherit.html.twig | File | 226 B | 0775 |
|
| module.html.twig | File | 890 B | 0775 |
|
| outlines.html.twig | File | 1.23 KB | 0775 |
|
| particle.html.twig | File | 1.48 KB | 0775 |
|
| particles.html.twig | File | 1.41 KB | 0775 |
|
| widget.html.twig | File | 1.76 KB | 0775 |
|