<?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;
/* @ProductsNotifications/portal/opt_in/main.html.twig */
class __TwigTemplate_dc03b03528d4aa0fe926abe19a054619 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'faqs' => [$this, 'block_faqs'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ProductsNotifications/portal/opt_in/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/portal/opt_in/main.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/portal/opt_in/main.html.twig"));
$this->parent = $this->loadTemplate("@ProductsNotifications/portal/opt_in/base.html.twig", "@ProductsNotifications/portal/opt_in/main.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_faqs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "faqs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "faqs"));
// line 4
echo " <div class=\"row justify-content-md-center\">
<div class=\"col-4 small\">
<p class=\"form-mutedtxt\">
SchoolStatus allows schools and school districts to contact you through text, calls, voice messages, and emails.
</p>
<p class=\"form-mutedtxt\">
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.
</p>
<p class=\"form-mutedtxt\">
Carriers are not liable for delayed or undelivered messages.
</p>
<p class=\"form-mutedtxt\">
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.
</p>
<p class=\"form-mutedtxt\">
If you have any questions regarding privacy, please read our privacy policy: <a href=\"https://www.schoolstatus.com/privacy\">SchoolStatus Privacy Policy</a>
</p>
<p class=\"form-mutedtxt\">
Message frequency may vary.
</p>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 28
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 29
echo " ";
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');
echo "
<div class=\"mp-signin\">
<h2>Stay connected</h2>
<h3>Opt-in to receive messages from your child's school and teachers.</h3>
";
// line 33
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');
echo "
<div class=\"mp-formgroup\">
<div class=\"input-group\">
";
// line 36
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", false, false, false, 36), 'widget', ["attr" => ["placeholder" => "Enter email address or phone number", "class" => "form-control"]]);
// line 41
echo "
<small class=\"text-danger\">
";
// line 43
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", false, false, false, 43), 'errors');
echo "
</small>
</div>
<div class=\"input-group mt-3\">
<div class=\"row\">
<div class=\"col-2\">
";
// line 49
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", false, false, false, 49), 'widget', ["attr" => ["class" => "mt-3"]]);
// line 53
echo "
</div>
<div class=\"col-10\">
";
// line 56
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", false, false, false, 56), '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/>"]);
// line 61
echo "
</div>
</div>
<small class=\"text-danger\">
";
// line 65
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", false, false, false, 65), 'errors');
echo "
</small>
</div>
<div class=\"mt-3\">
";
// line 69
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", false, false, false, 69), 'widget');
echo "
<small class=\"text-danger\">
";
// line 71
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", false, false, false, 71), 'errors');
echo "
</small>
</div>
";
// line 74
$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"])]));
// line 79
echo " </div>
</div>
";
// line 81
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');
echo "
";
// line 82
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');
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProductsNotifications/portal/opt_in/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ProductsNotifications/portal/opt_in/base.html.twig' %}
{% block faqs %}
<div class=\"row justify-content-md-center\">
<div class=\"col-4 small\">
<p class=\"form-mutedtxt\">
SchoolStatus allows schools and school districts to contact you through text, calls, voice messages, and emails.
</p>
<p class=\"form-mutedtxt\">
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.
</p>
<p class=\"form-mutedtxt\">
Carriers are not liable for delayed or undelivered messages.
</p>
<p class=\"form-mutedtxt\">
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.
</p>
<p class=\"form-mutedtxt\">
If you have any questions regarding privacy, please read our privacy policy: <a href=\"https://www.schoolstatus.com/privacy\">SchoolStatus Privacy Policy</a>
</p>
<p class=\"form-mutedtxt\">
Message frequency may vary.
</p>
</div>
</div>
{% endblock %}
{% block content %}
{{ form_start(form) }}
<div class=\"mp-signin\">
<h2>Stay connected</h2>
<h3>Opt-in to receive messages from your child's school and teachers.</h3>
{{ form_errors(form) }}
<div class=\"mp-formgroup\">
<div class=\"input-group\">
{{ form_widget(form.contact, {
attr: {
placeholder: 'Enter email address or phone number',
class: 'form-control',
},
}) }}
<small class=\"text-danger\">
{{ form_errors(form.contact) }}
</small>
</div>
<div class=\"input-group mt-3\">
<div class=\"row\">
<div class=\"col-2\">
{{ form_widget(form.terms, {
attr: {
class: 'mt-3',
},
}) }}
</div>
<div class=\"col-10\">
{{ 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/>', {
label_attr: {
style: 'font-size: 0.75em;'
},
label_html: true,
}) }}
</div>
</div>
<small class=\"text-danger\">
{{ form_errors(form.terms) }}
</small>
</div>
<div class=\"mt-3\">
{{ form_widget(form.recaptcha) }}
<small class=\"text-danger\">
{{ form_errors(form.recaptcha) }}
</small>
</div>
{% include '@ui2022/button--form.html.twig' with {
type: 'submit',
text: 'Submit',
styles: 'primary block',
} %}
</div>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}
", "@ProductsNotifications/portal/opt_in/main.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/portal/opt_in/main.html.twig");
}
}