var/cache/test/twig/b4/b45b066bdcbc68dfd3d63b89f0cda369.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @ProductsNotifications/portal/opt_in/main.html.twig */
  14. class __TwigTemplate_dc03b03528d4aa0fe926abe19a054619 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'faqs' => [$this'block_faqs'],
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@ProductsNotifications/portal/opt_in/base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/portal/opt_in/main.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/portal/opt_in/main.html.twig"));
  39.         $this->parent $this->loadTemplate("@ProductsNotifications/portal/opt_in/base.html.twig""@ProductsNotifications/portal/opt_in/main.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_faqs($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""faqs"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""faqs"));
  54.         // line 4
  55.         echo "    <div class=\"row justify-content-md-center\">
  56.         <div class=\"col-4 small\">
  57.             <p class=\"form-mutedtxt\">
  58.                 SchoolStatus allows schools and school districts to contact you through text, calls, voice messages, and emails.
  59.             </p>
  60.             <p class=\"form-mutedtxt\">
  61.                 You can cancel the SMS service at any time. Just text \"STOP\" to the short code. After you send the SMS message \"STOP\" to us, we will send you an SMS message to confirm that you have been unsubscribed. After this, you will no longer receive SMS messages from us. If you want to join again, just sign up as you did the first time and we will start sending SMS messages to you again.
  62.             </p>
  63.             <p class=\"form-mutedtxt\">
  64.                 Carriers are not liable for delayed or undelivered messages.
  65.             </p>
  66.             <p class=\"form-mutedtxt\">
  67.                 As always, message and data rates may apply for any messages sent to you from us and to us from you. If you have any questions about your text plan or data plan, it is best to contact your wireless provider.
  68.             </p>
  69.             <p class=\"form-mutedtxt\">
  70.                 If you have any questions regarding privacy, please read our privacy policy: <a href=\"https://www.schoolstatus.com/privacy\">SchoolStatus Privacy Policy</a>
  71.             </p>
  72.             <p class=\"form-mutedtxt\">
  73.                 Message frequency may vary.
  74.             </p>
  75.         </div>
  76.     </div>
  77. ";
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     // line 28
  84.     public function block_content($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  91.         // line 29
  92.         echo "    ";
  93.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), 'form_start');
  94.         echo "
  95.         <div class=\"mp-signin\">
  96.             <h2>Stay connected</h2>
  97.             <h3>Opt-in to receive messages from your child's school and teachers.</h3>
  98.             ";
  99.         // line 33
  100.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'33$this->source); })()), 'errors');
  101.         echo "
  102.             <div class=\"mp-formgroup\">
  103.                 <div class=\"input-group\">
  104.                     ";
  105.         // line 36
  106.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'36$this->source); })()), "contact", [], "any"falsefalsefalse36), 'widget', ["attr" => ["placeholder" => "Enter email address or phone number""class" => "form-control"]]);
  107.         // line 41
  108.         echo "
  109.                     <small class=\"text-danger\">
  110.                         ";
  111.         // line 43
  112.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "contact", [], "any"falsefalsefalse43), 'errors');
  113.         echo "
  114.                     </small>
  115.                 </div>
  116.                 <div class=\"input-group mt-3\">
  117.                     <div class=\"row\">
  118.                         <div class=\"col-2\">
  119.                             ";
  120.         // line 49
  121.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'49$this->source); })()), "terms", [], "any"falsefalsefalse49), 'widget', ["attr" => ["class" => "mt-3"]]);
  122.         // line 53
  123.         echo "
  124.                         </div>
  125.                         <div class=\"col-10\">
  126.                             ";
  127.         // line 56
  128.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "terms", [], "any"falsefalsefalse56), 'label', ["label_attr" => ["style" => "font-size: 0.75em;"], "label_html" => true"label" => "I accept the SchoolStatus <a style=\"color: rgb(31, 136, 195);\" href=\"https://www.schoolstatus.com/terms-and-conditions\">Terms of Service</a> and have read the SchoolStatus <a style=\"color: rgb(31, 136, 195);\" href=\"https://www.schoolstatus.com/privacy\">Privacy Policy<a/>"]);
  129.         // line 61
  130.         echo "
  131.                         </div>
  132.                     </div>
  133.                     <small class=\"text-danger\">
  134.                         ";
  135.         // line 65
  136.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'65$this->source); })()), "terms", [], "any"falsefalsefalse65), 'errors');
  137.         echo "
  138.                     </small>
  139.                 </div>
  140.                 <div class=\"mt-3\">
  141.                     ";
  142.         // line 69
  143.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'69$this->source); })()), "recaptcha", [], "any"falsefalsefalse69), 'widget');
  144.         echo "
  145.                     <small class=\"text-danger\">
  146.                         ";
  147.         // line 71
  148.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'71$this->source); })()), "recaptcha", [], "any"falsefalsefalse71), 'errors');
  149.         echo "
  150.                     </small>
  151.                 </div>
  152.                 ";
  153.         // line 74
  154.         $this->loadTemplate("@ui2022/button--form.html.twig""@ProductsNotifications/portal/opt_in/main.html.twig"74)->display(twig_array_merge(twig_array_merge($context, ["type" => "submit""text" => "Submit""styles" => "primary block"]), ['_args' => twig_to_array(["type" => "submit""text" => "Submit""styles" => "primary block"])]));
  155.         // line 79
  156.         echo "            </div>
  157.         </div>
  158.     ";
  159.         // line 81
  160.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'81$this->source); })()), 'rest');
  161.         echo "
  162.     ";
  163.         // line 82
  164.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'82$this->source); })()), 'form_end');
  165.         echo "
  166. ";
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.         
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  171.     }
  172.     public function getTemplateName()
  173.     {
  174.         return "@ProductsNotifications/portal/opt_in/main.html.twig";
  175.     }
  176.     public function isTraitable()
  177.     {
  178.         return false;
  179.     }
  180.     public function getDebugInfo()
  181.     {
  182.         return array (  183 => 82,  179 => 81,  175 => 79,  173 => 74,  167 => 71,  162 => 69,  155 => 65,  149 => 61,  147 => 56,  142 => 53,  140 => 49,  131 => 43,  127 => 41,  125 => 36,  119 => 33,  111 => 29,  101 => 28,  69 => 4,  59 => 3,  36 => 1,);
  183.     }
  184.     public function getSourceContext()
  185.     {
  186.         return new Source("{% extends '@ProductsNotifications/portal/opt_in/base.html.twig' %}
  187. {% block faqs %}
  188.     <div class=\"row justify-content-md-center\">
  189.         <div class=\"col-4 small\">
  190.             <p class=\"form-mutedtxt\">
  191.                 SchoolStatus allows schools and school districts to contact you through text, calls, voice messages, and emails.
  192.             </p>
  193.             <p class=\"form-mutedtxt\">
  194.                 You can cancel the SMS service at any time. Just text \"STOP\" to the short code. After you send the SMS message \"STOP\" to us, we will send you an SMS message to confirm that you have been unsubscribed. After this, you will no longer receive SMS messages from us. If you want to join again, just sign up as you did the first time and we will start sending SMS messages to you again.
  195.             </p>
  196.             <p class=\"form-mutedtxt\">
  197.                 Carriers are not liable for delayed or undelivered messages.
  198.             </p>
  199.             <p class=\"form-mutedtxt\">
  200.                 As always, message and data rates may apply for any messages sent to you from us and to us from you. If you have any questions about your text plan or data plan, it is best to contact your wireless provider.
  201.             </p>
  202.             <p class=\"form-mutedtxt\">
  203.                 If you have any questions regarding privacy, please read our privacy policy: <a href=\"https://www.schoolstatus.com/privacy\">SchoolStatus Privacy Policy</a>
  204.             </p>
  205.             <p class=\"form-mutedtxt\">
  206.                 Message frequency may vary.
  207.             </p>
  208.         </div>
  209.     </div>
  210. {% endblock %}
  211. {% block content %}
  212.     {{ form_start(form) }}
  213.         <div class=\"mp-signin\">
  214.             <h2>Stay connected</h2>
  215.             <h3>Opt-in to receive messages from your child's school and teachers.</h3>
  216.             {{ form_errors(form) }}
  217.             <div class=\"mp-formgroup\">
  218.                 <div class=\"input-group\">
  219.                     {{ form_widget(form.contact, {
  220.                         attr: {
  221.                             placeholder: 'Enter email address or phone number',
  222.                             class: 'form-control',
  223.                         },
  224.                     }) }}
  225.                     <small class=\"text-danger\">
  226.                         {{ form_errors(form.contact) }}
  227.                     </small>
  228.                 </div>
  229.                 <div class=\"input-group mt-3\">
  230.                     <div class=\"row\">
  231.                         <div class=\"col-2\">
  232.                             {{ form_widget(form.terms, {
  233.                                 attr: {
  234.                                     class: 'mt-3',
  235.                                 },
  236.                             }) }}
  237.                         </div>
  238.                         <div class=\"col-10\">
  239.                             {{ form_label(form.terms, 'I accept the SchoolStatus <a style=\"color: rgb(31, 136, 195);\" href=\"https://www.schoolstatus.com/terms-and-conditions\">Terms of Service</a> and have read the SchoolStatus <a style=\"color: rgb(31, 136, 195);\" href=\"https://www.schoolstatus.com/privacy\">Privacy Policy<a/>', {
  240.                                 label_attr: {
  241.                                     style: 'font-size: 0.75em;'
  242.                                 },
  243.                                 label_html: true,
  244.                             }) }}
  245.                         </div>
  246.                     </div>
  247.                     <small class=\"text-danger\">
  248.                         {{ form_errors(form.terms) }}
  249.                     </small>
  250.                 </div>
  251.                 <div class=\"mt-3\">
  252.                     {{ form_widget(form.recaptcha) }}
  253.                     <small class=\"text-danger\">
  254.                         {{ form_errors(form.recaptcha) }}
  255.                     </small>
  256.                 </div>
  257.                 {% include '@ui2022/button--form.html.twig' with {
  258.                     type: 'submit',
  259.                     text: 'Submit',
  260.                     styles: 'primary block',
  261.                 } %}
  262.             </div>
  263.         </div>
  264.     {{ form_rest(form) }}
  265.     {{ form_end(form) }}
  266. {% endblock %}
  267. ""@ProductsNotifications/portal/opt_in/main.html.twig""/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/portal/opt_in/main.html.twig");
  268.     }
  269. }