init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
386
var/cache/dev/twig/8d/8d55a5c7bd852b55a3fbc154ecfc520cb81ea193fefd54af25140b52e9c37858.php
vendored
Normal file
386
var/cache/dev/twig/8d/8d55a5c7bd852b55a3fbc154ecfc520cb81ea193fefd54af25140b52e9c37858.php
vendored
Normal file
|
|
@ -0,0 +1,386 @@
|
|||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* default/form/theme.html.twig */
|
||||
class __TwigTemplate_a8854dc8fefe7332d2f8d2763420da155636f20fc970cd18be6cfd4bb6b63b0f extends \Twig\Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
// line 1
|
||||
$_trait_0 = $this->loadTemplate("form_div_layout.html.twig", "default/form/theme.html.twig", 1);
|
||||
if (!$_trait_0->isTraitable()) {
|
||||
throw new RuntimeError('Template "'."form_div_layout.html.twig".'" cannot be used as a trait.', 1, $this->source);
|
||||
}
|
||||
$_trait_0_blocks = $_trait_0->getBlocks();
|
||||
|
||||
if (!isset($_trait_0_blocks["choice_widget_collapsed"])) {
|
||||
throw new RuntimeError('Block "choice_widget_collapsed" is not defined in trait "form_div_layout.html.twig".', 1, $this->source);
|
||||
}
|
||||
|
||||
$_trait_0_blocks["base_choice_widget_collapsed"] = $_trait_0_blocks["choice_widget_collapsed"]; unset($_trait_0_blocks["choice_widget_collapsed"]);
|
||||
|
||||
if (!isset($_trait_0_blocks["checkbox_widget"])) {
|
||||
throw new RuntimeError('Block "checkbox_widget" is not defined in trait "form_div_layout.html.twig".', 1, $this->source);
|
||||
}
|
||||
|
||||
$_trait_0_blocks["base_checkbox_widget"] = $_trait_0_blocks["checkbox_widget"]; unset($_trait_0_blocks["checkbox_widget"]);
|
||||
|
||||
if (!isset($_trait_0_blocks["radio_widget"])) {
|
||||
throw new RuntimeError('Block "radio_widget" is not defined in trait "form_div_layout.html.twig".', 1, $this->source);
|
||||
}
|
||||
|
||||
$_trait_0_blocks["base_radio_widget"] = $_trait_0_blocks["radio_widget"]; unset($_trait_0_blocks["radio_widget"]);
|
||||
|
||||
// line 6
|
||||
$_trait_1 = $this->loadTemplate("bootstrap_3_layout.html.twig", "default/form/theme.html.twig", 6);
|
||||
if (!$_trait_1->isTraitable()) {
|
||||
throw new RuntimeError('Template "'."bootstrap_3_layout.html.twig".'" cannot be used as a trait.', 6, $this->source);
|
||||
}
|
||||
$_trait_1_blocks = $_trait_1->getBlocks();
|
||||
|
||||
$this->traits = array_merge(
|
||||
$_trait_0_blocks,
|
||||
$_trait_1_blocks
|
||||
);
|
||||
|
||||
$this->blocks = array_merge(
|
||||
$this->traits,
|
||||
[
|
||||
'choice_widget_collapsed' => [$this, 'block_choice_widget_collapsed'],
|
||||
'date_widget' => [$this, 'block_date_widget'],
|
||||
'st_plain_date_widget' => [$this, 'block_st_plain_date_widget'],
|
||||
'checkbox_widget' => [$this, 'block_checkbox_widget'],
|
||||
'radio_widget' => [$this, 'block_radio_widget'],
|
||||
'datalist_widget' => [$this, 'block_datalist_widget'],
|
||||
'form_label' => [$this, 'block_form_label'],
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/form/theme.html.twig"));
|
||||
|
||||
// line 7
|
||||
echo "
|
||||
";
|
||||
// line 8
|
||||
$this->displayBlock('choice_widget_collapsed', $context, $blocks);
|
||||
// line 18
|
||||
echo "
|
||||
";
|
||||
// line 19
|
||||
$this->displayBlock('date_widget', $context, $blocks);
|
||||
// line 37
|
||||
echo "
|
||||
";
|
||||
// line 38
|
||||
$this->displayBlock('st_plain_date_widget', $context, $blocks);
|
||||
// line 43
|
||||
echo "
|
||||
";
|
||||
// line 44
|
||||
$this->displayBlock('checkbox_widget', $context, $blocks);
|
||||
// line 47
|
||||
echo "
|
||||
";
|
||||
// line 48
|
||||
$this->displayBlock('radio_widget', $context, $blocks);
|
||||
// line 51
|
||||
echo "
|
||||
";
|
||||
// line 52
|
||||
$this->displayBlock('datalist_widget', $context, $blocks);
|
||||
// line 61
|
||||
echo "
|
||||
";
|
||||
// line 62
|
||||
$this->displayBlock('form_label', $context, $blocks);
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 8
|
||||
public function block_choice_widget_collapsed($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "choice_widget_collapsed"));
|
||||
|
||||
// line 9
|
||||
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 9, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, // line 10
|
||||
($context["attr"] ?? null), "class", [], "any", true, true, false, 10)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 10), "")) : ("")) . " selectpicker")), "data-style" => ((twig_get_attribute($this->env, $this->source, // line 11
|
||||
($context["attr"] ?? null), "data-style", [], "array", true, true, false, 11)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "data-style", [], "array", false, false, false, 11), "btn-white")) : ("btn-white")), "data-dropout" => ((twig_get_attribute($this->env, $this->source, // line 12
|
||||
($context["attr"] ?? null), "data-dropout", [], "array", true, true, false, 12)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "data-dropout", [], "array", false, false, false, 12), "false")) : ("false"))]);
|
||||
// line 14
|
||||
echo " <div class=\"dropdown\" data-toggle=\"dropdown\">";
|
||||
// line 15
|
||||
$this->displayBlock("base_choice_widget_collapsed", $context, $blocks);
|
||||
// line 16
|
||||
echo "</div>";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 19
|
||||
public function block_date_widget($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "date_widget"));
|
||||
|
||||
// line 20
|
||||
$context["range"] = 0;
|
||||
// line 21
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 21, $this->source); })()));
|
||||
foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
|
||||
// line 22
|
||||
echo " ";
|
||||
if (($context["attrname"] == "data-range")) {
|
||||
// line 23
|
||||
echo " ";
|
||||
$context["range"] = 1;
|
||||
// line 24
|
||||
echo " ";
|
||||
}
|
||||
// line 25
|
||||
echo " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 26
|
||||
echo "
|
||||
";
|
||||
// line 27
|
||||
if (((isset($context["range"]) || array_key_exists("range", $context) ? $context["range"] : (function () { throw new RuntimeError('Variable "range" does not exist.', 27, $this->source); })()) == 1)) {
|
||||
// line 28
|
||||
$this->displayParentBlock("date_widget", $context, $blocks);
|
||||
} else {
|
||||
// line 30
|
||||
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 30, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", true, true, false, 30)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "class", [], "any", false, false, false, 30), "")) : ("")) . " datepicker"))]);
|
||||
// line 31
|
||||
echo "<div class=\"input-group\">
|
||||
<label for=\"";
|
||||
// line 32
|
||||
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 32, $this->source); })()), "html", null, true);
|
||||
echo "\" class=\"input-group-addon\"><i class=\"fa fa-calendar\"></i></label>
|
||||
";
|
||||
// line 33
|
||||
$this->displayParentBlock("date_widget", $context, $blocks);
|
||||
// line 34
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 38
|
||||
public function block_st_plain_date_widget($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "st_plain_date_widget"));
|
||||
|
||||
// line 39
|
||||
echo "<div class=\"input-group\">";
|
||||
// line 40
|
||||
$this->displayBlock("form_widget_simple", $context, $blocks);
|
||||
// line 41
|
||||
echo "</div>";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 44
|
||||
public function block_checkbox_widget($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "checkbox_widget"));
|
||||
|
||||
// line 45
|
||||
$this->displayBlock("base_checkbox_widget", $context, $blocks);
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 48
|
||||
public function block_radio_widget($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "radio_widget"));
|
||||
|
||||
// line 49
|
||||
$this->displayBlock("base_radio_widget", $context, $blocks);
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 52
|
||||
public function block_datalist_widget($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "datalist_widget"));
|
||||
|
||||
// line 53
|
||||
$context["attr"] = twig_array_merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 53, $this->source); })()), ["list" => ((twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "list", [], "any", true, true, false, 53)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["attr"] ?? null), "list", [], "any", false, false, false, 53), ((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 53, $this->source); })()) . "_list"))) : (((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 53, $this->source); })()) . "_list")))]);
|
||||
// line 54
|
||||
$this->displayBlock("form_widget_simple", $context, $blocks);
|
||||
// line 55
|
||||
echo "<datalist id=\"";
|
||||
echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 55, $this->source); })()), "html", null, true);
|
||||
echo "_list\">
|
||||
";
|
||||
// line 56
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable((isset($context["choices"]) || array_key_exists("choices", $context) ? $context["choices"] : (function () { throw new RuntimeError('Variable "choices" does not exist.', 56, $this->source); })()));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["choice"]) {
|
||||
// line 57
|
||||
echo " <option value=\"";
|
||||
echo twig_escape_filter($this->env, $context["choice"], "html", null, true);
|
||||
echo "\"></option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['choice'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 59
|
||||
echo " </datalist>";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
// line 62
|
||||
public function block_form_label($context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "form_label"));
|
||||
|
||||
// line 63
|
||||
if ((isset($context["required"]) || array_key_exists("required", $context) ? $context["required"] : (function () { throw new RuntimeError('Variable "required" does not exist.', 63, $this->source); })())) {
|
||||
// line 64
|
||||
$context["label_attr"] = twig_array_merge((isset($context["label_attr"]) || array_key_exists("label_attr", $context) ? $context["label_attr"] : (function () { throw new RuntimeError('Variable "label_attr" does not exist.', 64, $this->source); })()), ["class" => twig_trim_filter((((twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", true, true, false, 64)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["label_attr"] ?? null), "class", [], "any", false, false, false, 64), "")) : ("")) . " st-required"))]);
|
||||
}
|
||||
// line 66
|
||||
$this->displayParentBlock("form_label", $context, $blocks);
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "default/form/theme.html.twig";
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 300 => 66, 297 => 64, 295 => 63, 288 => 62, 281 => 59, 272 => 57, 268 => 56, 263 => 55, 261 => 54, 259 => 53, 252 => 52, 245 => 49, 238 => 48, 231 => 45, 224 => 44, 217 => 41, 215 => 40, 213 => 39, 206 => 38, 198 => 34, 196 => 33, 192 => 32, 189 => 31, 187 => 30, 184 => 28, 182 => 27, 179 => 26, 173 => 25, 170 => 24, 167 => 23, 164 => 22, 159 => 21, 157 => 20, 150 => 19, 143 => 16, 141 => 15, 139 => 14, 137 => 12, 136 => 11, 135 => 10, 134 => 9, 127 => 8, 120 => 62, 117 => 61, 115 => 52, 112 => 51, 110 => 48, 107 => 47, 105 => 44, 102 => 43, 100 => 38, 97 => 37, 95 => 19, 92 => 18, 90 => 8, 87 => 7, 55 => 6, 30 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("{% use 'form_div_layout.html.twig' with
|
||||
choice_widget_collapsed as base_choice_widget_collapsed,
|
||||
checkbox_widget as base_checkbox_widget,
|
||||
radio_widget as base_radio_widget
|
||||
%}
|
||||
{% use 'bootstrap_3_layout.html.twig' %}
|
||||
|
||||
{% block choice_widget_collapsed -%}
|
||||
{% set attr = attr|merge({
|
||||
class: (attr.class|default('') ~ ' selectpicker')|trim,
|
||||
'data-style': attr['data-style']|default('btn-white'),
|
||||
'data-dropout': attr['data-dropout']|default('false')
|
||||
}) %}
|
||||
<div class=\"dropdown\" data-toggle=\"dropdown\">
|
||||
{{- block('base_choice_widget_collapsed') -}}
|
||||
</div>
|
||||
{%- endblock %}
|
||||
|
||||
{% block date_widget -%}
|
||||
{% set range = 0 %}
|
||||
{% for attrname, attrvalue in attr %}
|
||||
{% if attrname == 'data-range' %}
|
||||
{% set range = 1 %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if range == 1 -%}
|
||||
{{- parent() -}}
|
||||
{%- else -%}
|
||||
{% set attr = attr|merge({class: (attr.class|default('') ~ ' datepicker')|trim}) -%}
|
||||
<div class=\"input-group\">
|
||||
<label for=\"{{ id }}\" class=\"input-group-addon\"><i class=\"fa fa-calendar\"></i></label>
|
||||
{{ parent() -}}
|
||||
</div>
|
||||
{%- endif -%}
|
||||
{%- endblock %}
|
||||
|
||||
{% block st_plain_date_widget -%}
|
||||
<div class=\"input-group\">
|
||||
{{- block('form_widget_simple') -}}
|
||||
</div>
|
||||
{%- endblock %}
|
||||
|
||||
{% block checkbox_widget -%}
|
||||
{{- block('base_checkbox_widget') -}}
|
||||
{%- endblock checkbox_widget %}
|
||||
|
||||
{% block radio_widget -%}
|
||||
{{- block('base_radio_widget') -}}
|
||||
{%- endblock radio_widget %}
|
||||
|
||||
{% block datalist_widget -%}
|
||||
{% set attr = attr|merge({list: attr.list|default(id ~ '_list')}) -%}
|
||||
{{ block('form_widget_simple') -}}
|
||||
<datalist id=\"{{ id }}_list\">
|
||||
{% for choice in choices %}
|
||||
<option value=\"{{ choice }}\"></option>
|
||||
{% endfor %}
|
||||
</datalist>
|
||||
{%- endblock datalist_widget %}
|
||||
|
||||
{% block form_label -%}
|
||||
{%- if required -%}
|
||||
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' st-required')|trim}) -%}
|
||||
{%- endif -%}
|
||||
{{- parent() -}}
|
||||
{%- endblock form_label %}", "default/form/theme.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/form/theme.html.twig");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue