app/cache/dev/Jianmo/twig/62/62235342ee6a6448315f6a1fd5ebab003d5aee87a9471f9f77f4bd4637b12080.php line 40

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. /* password-reset/index.html.twig */
  14. class __TwigTemplate_c2ba223fb8297e501f08d39b52af33992112fb85dc68af8ab0fcebbf6ca0a953 extends 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.             'header' => [$this'block_header'],
  24.             'title' => [$this'block_title'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""password-reset/index.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""password-reset/index.html.twig"));
  40.         // line 8
  41.         $context["bodyClass"] = "pwd_reset index_bg_item";
  42.         // line 10
  43.         $this->extensions['Codeages\PluginBundle\Twig\HtmlExtension']->script(["libs/jquery-validation.js""app/js/auth/password-reset/index.js"]);
  44.         // line 1
  45.         $this->parent $this->loadTemplate("layout.html.twig""password-reset/index.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     public function block_header($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  60.         // line 4
  61.         echo "  ";
  62.         $this->loadTemplate("site-hint.html.twig""password-reset/index.html.twig"4)->display($context);
  63.         // line 5
  64.         echo "  ";
  65.         echo $this->extensions['AppBundle\Twig\BlockExtension']->showBlock("jianmo:login_bg");
  66.         echo "
  67. ";
  68.         
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  70.         
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  72.     }
  73.     // line 9
  74.     public function block_title($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  81.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.title"), "html"nulltrue);
  82.         echo " - ";
  83.         $this->displayParentBlock("title"$context$blocks);
  84.         
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  86.         
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  88.     }
  89.     // line 12
  90.     public function block_content($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  97.         // line 13
  98.         echo "  <div class=\"pwd-reset-container\">
  99.     <div class=\"pwd-reset-section\">
  100.       <div class=\"panel panel-default panel-page pwd-reset-main clearfix\">
  101.         <h2 class=\"ft-xlg text-center mbxl\">";
  102.         // line 16
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.title"), "html"nulltrue);
  104.         echo "</h2>
  105.         <ul class=\"nav nav-tabs js-find-password\">
  106.           ";
  107.         // line 19
  108.         if (((=== twig_compare(_twig_default_filter($this->extensions['AppBundle\Twig\WebExtension']->getSetting("cloud_email_crm.status"), "disable"), "enable")) || (=== twig_compare($this->extensions['AppBundle\Twig\WebExtension']->getSetting("mailer.enabled"""), "1")))) {
  109.             // line 20
  110.             echo "            <li class=\"active js-find-by-email nav-reset-tab\">
  111.               <a style=\"cursor: pointer;\">";
  112.             // line 21
  113.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.email"), "html"nulltrue);
  114.             echo "
  115.               </a>
  116.             </li>
  117.           ";
  118.         }
  119.         // line 25
  120.         echo "          ";
  121.         if ((=== twig_compare(_twig_default_filter($this->extensions['AppBundle\Twig\WebExtension']->getSetting("cloud_sms.sms_enabled"), ""), "1"))) {
  122.             // line 26
  123.             echo "            <li class=\"js-find-by-mobile nav-reset-tab\">
  124.               <a style=\"cursor: pointer;\">";
  125.             // line 27
  126.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.mobile"), "html"nulltrue);
  127.             echo "
  128.               </a>
  129.             </li>
  130.           ";
  131.         }
  132.         // line 31
  133.         echo "        </ul>
  134.         ";
  135.         // line 33
  136.         if (((=== twig_compare(_twig_default_filter($this->extensions['AppBundle\Twig\WebExtension']->getSetting("cloud_email_crm.status"), "disable"), "enable")) || (=== twig_compare($this->extensions['AppBundle\Twig\WebExtension']->getSetting("mailer.enabled"""), "1")))) {
  137.             // line 34
  138.             echo "          <form id=\"password-reset-form\" class=\"form-vertical\" action=\"";
  139.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("password_reset_email");
  140.             echo "\" method=\"post\"
  141.                 novalidate>
  142.             <div class=\"form-group input-icon-wrap\">
  143.               <i class=\"es-icon es-icon-mail\"></i>
  144.               <div class=\"controls\">
  145.                 <input type=\"email\" id=\"email\" name=\"email\" class=\"form-control input-md-style\" autocomplete=\"off\"
  146.                        placeholder=\"";
  147.             // line 40
  148.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.email.placeholder"), "html"nulltrue);
  149.             echo "\">
  150.                 <p class=\"help-block\">";
  151.             // line 41
  152.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" "), "html"nulltrue);
  153.             echo "</p>
  154.               </div>
  155.             </div>
  156.             <div class=\"form-group\">
  157.               <div class=\"controls password-btn-block-wrap\">
  158.                 <button type=\"submit\" class=\"btn btn-primary btn-block bor-no\"
  159.                         data-loading-text=\"";
  160.             // line 47
  161.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.btn.reset_btn.loading"), "html"nulltrue);
  162.             echo "...\">";
  163.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.btn.reset_btn"), "html"nulltrue);
  164.             echo "</button>
  165.               </div>
  166.               <div id=\"alertxx\" class=\"alert alert-danger-position\" style=\"display:none;\"></div>
  167.               <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  168.             // line 51
  169.             echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("site"), "html"nulltrue);
  170.             echo "\">
  171.             </div>
  172.             <div class=\"pull-right mbm\"><a class=\"link-gray\"
  173.                                            href=\"";
  174.             // line 54
  175.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  176.             echo "\">";
  177.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.btn.return"), "html"nulltrue);
  178.             echo "</a></div>
  179.           </form>
  180.         ";
  181.         }
  182.         // line 57
  183.         echo "
  184.         ";
  185.         // line 58
  186.         if ((=== twig_compare(_twig_default_filter($this->extensions['AppBundle\Twig\WebExtension']->getSetting("cloud_sms.sms_enabled"), ""), "1"))) {
  187.             // line 59
  188.             echo "          <form id=\"password-reset-by-mobile-form\" class=\"form-vertical\" action=\"";
  189.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("password_reset_by_sms");
  190.             echo "\"
  191.                 method=\"post\" novalidate
  192.                 ";
  193.             // line 61
  194.             if (((=== twig_compare(_twig_default_filter($this->extensions['AppBundle\Twig\WebExtension']->getSetting("cloud_email_crm.status"), "disable"), "enable")) || (=== twig_compare($this->extensions['AppBundle\Twig\WebExtension']->getSetting("mailer.enabled"""), "1")))) {
  195.                 echo "style=\"display:none;\"";
  196.             }
  197.             echo ">
  198.             <div class=\"form-group\">
  199.               <label class=\"control-label required hidden\"
  200.                      for=\"mobile\">";
  201.             // line 64
  202.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.mobile"), "html"nulltrue);
  203.             echo "</label>
  204.               <div class=\"controls input-icon-wrap\">
  205.                 <i class=\"es-icon es-icon-phone1 phone-icon\"></i>
  206.                 <input type=\"text\" id=\"mobile\" name=\"mobile\" class=\"form-control input-md-style\"
  207.                        placeholder=\"";
  208.             // line 68
  209.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.mobile.placeholder"), "html"nulltrue);
  210.             echo "\">
  211.               </div>
  212.             </div>
  213.             <div class=\"form-group\">
  214.               <label class=\"control-label required hidden\"
  215.                      for=\"sms-code\">";
  216.             // line 74
  217.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.sms_code"), "html"nulltrue);
  218.             echo "</label>
  219.               <div class=\"controls input-icon-wrap\">
  220.                 <div class=\"sms-check-btn pull-right\">
  221.                   <a href=\"#modal\" data-toggle=\"modal\" class=\"btn btn-default btn-sm js-sms-send\"
  222.                      data-url=\"";
  223.             // line 78
  224.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("captcha_modal");
  225.             echo "\" data-sms-url=\"";
  226.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edu_cloud_sms_send");
  227.             echo "\"
  228.                      data-sms-type=\"sms_forget_password\">
  229.                     <span id=\"js-time-left\"></span>
  230.                     <span id=\"js-fetch-btn-text\">";
  231.             // line 81
  232.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.get_sms_code"), "html"nulltrue);
  233.             echo "</span>
  234.                   </a>
  235.                 </div>
  236.                 <div class=\"sms-check-input\">
  237.                   <input type=\"text\" class=\"form-control input-md-sms-style input-md-style\" id=\"sms-code\"
  238.                          name=\"sms_code\" required=\"required\" autocomplete=\"one-time-code\"
  239.                          placeholder=\"";
  240.             // line 87
  241.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.sms_check"), "html"nulltrue);
  242.             echo "\">
  243.                 </div>
  244.                 <div class=\"help-block\"></div>
  245.               </div>
  246.             </div>
  247.             <div class=\"form-group\">
  248.               <div class=\"controls password-btn-block-wrap\">
  249.                 <button type=\"submit\" class=\"btn btn-primary btn-lg btn-block bor-no\"
  250.                         data-loading-text=\"";
  251.             // line 96
  252.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.submit_btn_loading"), "html"nulltrue);
  253.             echo "\">";
  254.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password_reset.content.btn.reset_btn"), "html"nulltrue);
  255.             echo "</button>
  256.               </div>
  257.               <div id=\"mobile-alertxx\" class=\"alert alert-danger-position\" style=\"display:none;\"></div>
  258.               <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  259.             // line 100
  260.             echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("site"), "html"nulltrue);
  261.             echo "\">
  262.               <input type=\"hidden\" name=\"sms_token\" id=\"sms_token\" value=\"\">
  263.             </div>
  264.             <div class=\"pull-right mbm\"><a class=\"link-gray\"
  265.                                            href=\"";
  266.             // line 104
  267.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
  268.             echo "\">";
  269.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("form.btn.return"), "html"nulltrue);
  270.             echo "</a></div>
  271.           </form>
  272.         ";
  273.         }
  274.         // line 107
  275.         echo "      </div><!-- /panel -->
  276.     </div>
  277.   </div>
  278. ";
  279.         
  280.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  281.         
  282.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  283.     }
  284.     /**
  285.      * @codeCoverageIgnore
  286.      */
  287.     public function getTemplateName()
  288.     {
  289.         return "password-reset/index.html.twig";
  290.     }
  291.     /**
  292.      * @codeCoverageIgnore
  293.      */
  294.     public function isTraitable()
  295.     {
  296.         return false;
  297.     }
  298.     /**
  299.      * @codeCoverageIgnore
  300.      */
  301.     public function getDebugInfo()
  302.     {
  303.         return array (  305 => 107,  297 => 104,  290 => 100,  281 => 96,  269 => 87,  260 => 81,  252 => 78,  245 => 74,  236 => 68,  229 => 64,  221 => 61,  215 => 59,  213 => 58,  210 => 57,  202 => 54,  196 => 51,  187 => 47,  178 => 41,  174 => 40,  164 => 34,  162 => 33,  158 => 31,  151 => 27,  148 => 26,  145 => 25,  138 => 21,  135 => 20,  133 => 19,  127 => 16,  122 => 13,  112 => 12,  91 => 9,  78 => 5,  75 => 4,  65 => 3,  54 => 1,  52 => 10,  50 => 8,  37 => 1,);
  304.     }
  305.     public function getSourceContext()
  306.     {
  307.         return new Source("{% extends 'layout.html.twig' %}
  308. {% block header %}
  309.   {% include 'site-hint.html.twig' %}
  310.   {{ block_show('jianmo:login_bg') }}
  311. {% endblock %}
  312. {% set bodyClass = \"pwd_reset index_bg_item\" %}
  313. {% block title %}{{ 'password_reset.title'|trans }} - {{ parent() }}{% endblock %}
  314. {% do script(['libs/jquery-validation.js','app/js/auth/password-reset/index.js']) %}
  315. {% block content %}
  316.   <div class=\"pwd-reset-container\">
  317.     <div class=\"pwd-reset-section\">
  318.       <div class=\"panel panel-default panel-page pwd-reset-main clearfix\">
  319.         <h2 class=\"ft-xlg text-center mbxl\">{{ 'password_reset.content.title'|trans }}</h2>
  320.         <ul class=\"nav nav-tabs js-find-password\">
  321.           {% if (setting('cloud_email_crm.status')|default('disable')) == 'enable' or (setting('mailer.enabled', '')) == '1' %}
  322.             <li class=\"active js-find-by-email nav-reset-tab\">
  323.               <a style=\"cursor: pointer;\">{{ 'password_reset.content.email'|trans }}
  324.               </a>
  325.             </li>
  326.           {% endif %}
  327.           {% if (setting('cloud_sms.sms_enabled')|default('')) == '1' %}
  328.             <li class=\"js-find-by-mobile nav-reset-tab\">
  329.               <a style=\"cursor: pointer;\">{{ 'password_reset.content.mobile'|trans }}
  330.               </a>
  331.             </li>
  332.           {% endif %}
  333.         </ul>
  334.         {% if (setting('cloud_email_crm.status')|default('disable')) == 'enable' or (setting('mailer.enabled', '')) == '1' %}
  335.           <form id=\"password-reset-form\" class=\"form-vertical\" action=\"{{ path('password_reset_email') }}\" method=\"post\"
  336.                 novalidate>
  337.             <div class=\"form-group input-icon-wrap\">
  338.               <i class=\"es-icon es-icon-mail\"></i>
  339.               <div class=\"controls\">
  340.                 <input type=\"email\" id=\"email\" name=\"email\" class=\"form-control input-md-style\" autocomplete=\"off\"
  341.                        placeholder=\"{{ 'password_reset.content.email.placeholder'|trans }}\">
  342.                 <p class=\"help-block\">{{ ' '|trans }}</p>
  343.               </div>
  344.             </div>
  345.             <div class=\"form-group\">
  346.               <div class=\"controls password-btn-block-wrap\">
  347.                 <button type=\"submit\" class=\"btn btn-primary btn-block bor-no\"
  348.                         data-loading-text=\"{{ 'password_reset.content.btn.reset_btn.loading'|trans }}...\">{{ 'password_reset.content.btn.reset_btn'|trans }}</button>
  349.               </div>
  350.               <div id=\"alertxx\" class=\"alert alert-danger-position\" style=\"display:none;\"></div>
  351.               <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('site') }}\">
  352.             </div>
  353.             <div class=\"pull-right mbm\"><a class=\"link-gray\"
  354.                                            href=\"{{ path('login') }}\">{{ 'form.btn.return'|trans }}</a></div>
  355.           </form>
  356.         {% endif %}
  357.         {% if (setting('cloud_sms.sms_enabled')|default('')) == '1' %}
  358.           <form id=\"password-reset-by-mobile-form\" class=\"form-vertical\" action=\"{{ path('password_reset_by_sms') }}\"
  359.                 method=\"post\" novalidate
  360.                 {% if (setting('cloud_email_crm.status')|default('disable')) == 'enable' or (setting('mailer.enabled', '')) == '1' %}style=\"display:none;\"{% endif %}>
  361.             <div class=\"form-group\">
  362.               <label class=\"control-label required hidden\"
  363.                      for=\"mobile\">{{ 'password_reset.content.mobile'|trans }}</label>
  364.               <div class=\"controls input-icon-wrap\">
  365.                 <i class=\"es-icon es-icon-phone1 phone-icon\"></i>
  366.                 <input type=\"text\" id=\"mobile\" name=\"mobile\" class=\"form-control input-md-style\"
  367.                        placeholder=\"{{ 'password_reset.content.mobile.placeholder'|trans }}\">
  368.               </div>
  369.             </div>
  370.             <div class=\"form-group\">
  371.               <label class=\"control-label required hidden\"
  372.                      for=\"sms-code\">{{ 'password_reset.content.sms_code'|trans }}</label>
  373.               <div class=\"controls input-icon-wrap\">
  374.                 <div class=\"sms-check-btn pull-right\">
  375.                   <a href=\"#modal\" data-toggle=\"modal\" class=\"btn btn-default btn-sm js-sms-send\"
  376.                      data-url=\"{{ path('captcha_modal') }}\" data-sms-url=\"{{ path('edu_cloud_sms_send') }}\"
  377.                      data-sms-type=\"sms_forget_password\">
  378.                     <span id=\"js-time-left\"></span>
  379.                     <span id=\"js-fetch-btn-text\">{{ 'password_reset.content.get_sms_code'|trans }}</span>
  380.                   </a>
  381.                 </div>
  382.                 <div class=\"sms-check-input\">
  383.                   <input type=\"text\" class=\"form-control input-md-sms-style input-md-style\" id=\"sms-code\"
  384.                          name=\"sms_code\" required=\"required\" autocomplete=\"one-time-code\"
  385.                          placeholder=\"{{ 'password_reset.content.sms_check'|trans }}\">
  386.                 </div>
  387.                 <div class=\"help-block\"></div>
  388.               </div>
  389.             </div>
  390.             <div class=\"form-group\">
  391.               <div class=\"controls password-btn-block-wrap\">
  392.                 <button type=\"submit\" class=\"btn btn-primary btn-lg btn-block bor-no\"
  393.                         data-loading-text=\"{{ 'password_reset.submit_btn_loading'|trans }}\">{{ 'password_reset.content.btn.reset_btn'|trans }}</button>
  394.               </div>
  395.               <div id=\"mobile-alertxx\" class=\"alert alert-danger-position\" style=\"display:none;\"></div>
  396.               <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('site') }}\">
  397.               <input type=\"hidden\" name=\"sms_token\" id=\"sms_token\" value=\"\">
  398.             </div>
  399.             <div class=\"pull-right mbm\"><a class=\"link-gray\"
  400.                                            href=\"{{ path('login') }}\">{{ 'form.btn.return'|trans }}</a></div>
  401.           </form>
  402.         {% endif %}
  403.       </div><!-- /panel -->
  404.     </div>
  405.   </div>
  406. {% endblock %}""password-reset/index.html.twig""/var/www/hangzhou/hz-4.77.edusoho.cn/app/Resources/views/password-reset/index.html.twig");
  407.     }
  408. }