init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
74
var/cache/dev/twig/8d/8d108824738a054245eb89c344eb465f2e644a58651affa2a8fe2a06bf8d5822.php
vendored
Normal file
74
var/cache/dev/twig/8d/8d108824738a054245eb89c344eb465f2e644a58651affa2a8fe2a06bf8d5822.php
vendored
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<?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;
|
||||
|
||||
/* @WebProfiler/Icon/logger.svg */
|
||||
class __TwigTemplate_f2e97fd82dd750ed68b098035232e5248922950244a6777a1bc8802ed2f9de05 extends \Twig\Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
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", "@WebProfiler/Icon/logger.svg"));
|
||||
|
||||
// line 1
|
||||
echo "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\">
|
||||
<path fill=\"#AAAAAA\" d=\"M21,4v13.8c0,2.7-2.5,5.2-5.2,5.2H6c-0.6,0-1-0.4-1-1s0.4-1,1-1h9.8c1.6,0,3.2-1.7,3.2-3.2V4
|
||||
c0-0.6,0.4-1,1-1S21,3.4,21,4z M5.5,20C4.1,20,3,18.9,3,17.5V3.5C3,2.1,4.1,1,5.5,1h10.1C16.9,1,18,2.1,18,3.5v14.1
|
||||
c0,1.4-1.1,2.5-2.5,2.5H5.5z M9,11.4C9,11.7,9.3,12,9.6,12h1.8c0.3,0,0.6-0.3,0.6-0.6V4.6C12,4.3,11.7,4,11.4,4H9.6
|
||||
C9.3,4,9,4.3,9,4.6V11.4z M9,16.4C9,16.7,9.3,17,9.6,17h1.8c0.3,0,0.6-0.3,0.6-0.6v-1.8c0-0.3-0.3-0.6-0.6-0.6H9.6
|
||||
C9.3,14,9,14.3,9,14.6V16.4z\"/>
|
||||
</svg>
|
||||
";
|
||||
|
||||
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
||||
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@WebProfiler/Icon/logger.svg";
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 40 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\">
|
||||
<path fill=\"#AAAAAA\" d=\"M21,4v13.8c0,2.7-2.5,5.2-5.2,5.2H6c-0.6,0-1-0.4-1-1s0.4-1,1-1h9.8c1.6,0,3.2-1.7,3.2-3.2V4
|
||||
c0-0.6,0.4-1,1-1S21,3.4,21,4z M5.5,20C4.1,20,3,18.9,3,17.5V3.5C3,2.1,4.1,1,5.5,1h10.1C16.9,1,18,2.1,18,3.5v14.1
|
||||
c0,1.4-1.1,2.5-2.5,2.5H5.5z M9,11.4C9,11.7,9.3,12,9.6,12h1.8c0.3,0,0.6-0.3,0.6-0.6V4.6C12,4.3,11.7,4,11.4,4H9.6
|
||||
C9.3,4,9,4.3,9,4.6V11.4z M9,16.4C9,16.7,9.3,17,9.6,17h1.8c0.3,0,0.6-0.3,0.6-0.6v-1.8c0-0.3-0.3-0.6-0.6-0.6H9.6
|
||||
C9.3,14,9,14.3,9,14.6V16.4z\"/>
|
||||
</svg>
|
||||
", "@WebProfiler/Icon/logger.svg", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Icon/logger.svg");
|
||||
}
|
||||
}
|
||||
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