var/cache/dev/twig/6b/6bda6186faac22b2e4075865fc0cd27c.php line 46

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @UVDeskCoreFramework/forgotPassword.html.twig */
  16. class __TwigTemplate_5a1e30b86b45bdb602f436caadfd465c extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'title' => [$this, 'block_title'],
  29. 'templateCSS' => [$this, 'block_templateCSS'],
  30. 'pageWrapper' => [$this, 'block_pageWrapper'],
  31. 'footer' => [$this, 'block_footer'],
  32. ];
  33. }
  34. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35. {
  36. // line 1
  37. return "@UVDeskCoreFramework//Templates//layout.html.twig";
  38. }
  39. protected function doDisplay(array $context, array $blocks = []): iterable
  40. {
  41. $macros = $this->macros;
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@UVDeskCoreFramework/forgotPassword.html.twig"));
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@UVDeskCoreFramework/forgotPassword.html.twig"));
  46. // line 5
  47. $context["recaptchaDetail"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["recaptcha_service"]) || array_key_exists("recaptcha_service", $context) ? $context["recaptcha_service"] : (function () { throw new RuntimeError('Variable "recaptcha_service" does not exist.', 5, $this->source); })()), "getRecaptchaDetails", [], "method", false, false, false, 5);
  48. // line 1
  49. $this->parent = $this->loadTemplate("@UVDeskCoreFramework//Templates//layout.html.twig", "@UVDeskCoreFramework/forgotPassword.html.twig", 1);
  50. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  51. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53. }
  54. // line 3
  55. /**
  56. * @return iterable<null|scalar|\Stringable>
  57. */
  58. public function block_title(array $context, array $blocks = []): iterable
  59. {
  60. $macros = $this->macros;
  61. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  63. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  65. yield "Forgot Password";
  66. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68. yield from [];
  69. }
  70. // line 7
  71. /**
  72. * @return iterable<null|scalar|\Stringable>
  73. */
  74. public function block_templateCSS(array $context, array $blocks = []): iterable
  75. {
  76. $macros = $this->macros;
  77. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "templateCSS"));
  79. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "templateCSS"));
  81. // line 8
  82. yield " <style>
  83. #loginForm h1 {
  84. font-size: 28px;
  85. color: #6F6F6F;
  86. font-weight: 600;
  87. margin: 0px 0px 10px 0px;
  88. }
  89. .forgot-password-cta {
  90. position: absolute;
  91. font-size: 15px !important;
  92. right: 0px;
  93. top: 0px;
  94. }
  95. </style>
  96. ";
  97. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99. yield from [];
  100. }
  101. // line 25
  102. /**
  103. * @return iterable<null|scalar|\Stringable>
  104. */
  105. public function block_pageWrapper(array $context, array $blocks = []): iterable
  106. {
  107. $macros = $this->macros;
  108. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  109. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageWrapper"));
  110. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  111. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageWrapper"));
  112. // line 26
  113. yield " <div class=\"uv-large-box-plank\">
  114. \t\t<div class=\"uv-large-box-rt\">
  115. \t\t\t<div class=\"uv-center-box uv-text-center\">
  116. <form action=\"\" method=\"post\" id=\"loginForm\">
  117. <div class=\"uv-adjacent-center\">
  118. <h1>";
  119. // line 31
  120. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forgot Password"), "html", null, true);
  121. yield "</h1>
  122. <div class=\"uv-element-block\">
  123. <p>";
  124. // line 33
  125. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter your email address and we will send you an email with instructions to update your login credentials."), "html", null, true);
  126. yield "</p>
  127. </div>
  128. <div class=\"uv-adjacent-form\">
  129. <div class=\"uv-adjacent-element-block\">
  130. <label>";
  131. // line 37
  132. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Email"), "html", null, true);
  133. yield "</label>
  134. <div class=\"uv-max-field\">
  135. <input class=\"uv-field\" type=\"email\" name=\"forgot_password_form[email]\">
  136. </div>
  137. </div>
  138. <div class=\"uv-adjacent-element-block\">
  139. ";
  140. // line 43
  141. if (((isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 43, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 43, $this->source); })()), "isActive", [], "any", false, false, false, 43) == true))) {
  142. // line 44
  143. yield " <div class=\"clearfix\"></div>
  144. <div class=\"g-recaptcha\" data-sitekey=\"";
  145. // line 45
  146. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 45, $this->source); })()), "siteKey", [], "any", false, false, false, 45), "html", null, true);
  147. yield "\"></div>
  148. <div class=\"clearfix\"></div>
  149. ";
  150. } else {
  151. // line 48
  152. yield " <!-- Recaptcha will not support -->
  153. ";
  154. }
  155. // line 50
  156. yield " </div>
  157. <button class=\"uv-btn\">";
  158. // line 51
  159. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Send Mail"), "html", null, true);
  160. yield "</button>
  161. </div>
  162. </div>
  163. </div>
  164. </form>
  165. \t\t</div>
  166. \t\t<div class=\"uv-large-box-lt\">
  167. \t\t\t<div class=\"uv-center-box uv-text-center\">
  168. \t\t\t\t<a href=\"https://www.uvdesk.com\">
  169. <img alt=\"UVdesk\" title=\"UVdesk\" src=\"";
  170. // line 61
  171. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/images/uvdesk-logo-symbol.svg"), "html", null, true);
  172. yield "\">
  173. \t\t\t\t</a>
  174. </div>
  175. \t\t</div>
  176. \t</div>
  177. ";
  178. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  179. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  180. yield from [];
  181. }
  182. // line 68
  183. /**
  184. * @return iterable<null|scalar|\Stringable>
  185. */
  186. public function block_footer(array $context, array $blocks = []): iterable
  187. {
  188. $macros = $this->macros;
  189. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  191. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  193. // line 69
  194. yield " ";
  195. yield from $this->yieldParentBlock("footer", $context, $blocks);
  196. yield "
  197. ";
  198. // line 71
  199. if (((isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 71, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 71, $this->source); })()), "isActive", [], "any", false, false, false, 71) == true))) {
  200. // line 72
  201. yield " <script src='https://www.google.com/recaptcha/api.js'></script>
  202. ";
  203. }
  204. // line 74
  205. yield "
  206. <script type=\"text/javascript\">
  207. \t\t\$(function () {
  208. _.extend(Backbone.Validation.callbacks, {
  209. valid : function (view, attr, selector) {
  210. var \$el = view.\$('[name=\"' + attr + '\"]');
  211. \$el.removeClass('uv-field-error');
  212. \$el.parents('.uv-adjacent-element-block').find('.uv-field-message').remove();
  213. },
  214. invalid : function (view, attr, error, selector) {
  215. var \$el = view.\$('[name=\"' + attr + '\"]');
  216. \$el.addClass('uv-field-error');
  217. \$el.parents('.uv-adjacent-element-block').find('.uv-field-message').remove();
  218. \$el.parents('.uv-adjacent-element-block').append(\"<span class='uv-field-message'>\" + error + \"</span>\");
  219. }
  220. });
  221. var LoginModel = Backbone.Model.extend({
  222. validation: {
  223. 'forgot_password_form[email]': [{
  224. required: true,
  225. msg: '";
  226. // line 95
  227. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("This field is mandatory"), "html", null, true);
  228. yield "'
  229. },{
  230. pattern: 'email',
  231. msg: '";
  232. // line 98
  233. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("This is not a valid email address"), "html", null, true);
  234. yield "'
  235. }],
  236. ";
  237. // line 100
  238. if (((isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 100, $this->source); })()) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["recaptchaDetail"]) || array_key_exists("recaptchaDetail", $context) ? $context["recaptchaDetail"] : (function () { throw new RuntimeError('Variable "recaptchaDetail" does not exist.', 100, $this->source); })()), "isActive", [], "any", false, false, false, 100) == true))) {
  239. // line 101
  240. yield " 'g-recaptcha-response' : {
  241. fn: function(value) {
  242. if(grecaptcha.getResponse().length > 0)
  243. return false;
  244. else
  245. return true;
  246. },
  247. msg : '";
  248. // line 108
  249. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please select CAPTCHA"), "html", null, true);
  250. yield "'
  251. }
  252. \t\t\t\t ";
  253. }
  254. // line 111
  255. yield " }
  256. });
  257. var LoginForm = Backbone.View.extend({
  258. \t\t el: 'form',
  259. events: {
  260. 'blur input': 'formChanged',
  261. 'click .uv-btn': 'submit'
  262. },
  263. initialize: function () {
  264. this.model = new LoginModel();
  265. Backbone.Validation.bind(this);
  266. },
  267. formChanged: function(e) {
  268. \t\t\t \tthis.model.set(Backbone.\$(e.currentTarget).attr('name'), Backbone.\$(e.currentTarget).val())
  269. \t\t\t \tthis.model.isValid([Backbone.\$(e.currentTarget).attr('name')])
  270. \t\t\t },
  271. submit: function (e) {
  272. e.preventDefault();
  273. var data = this.\$el.serializeObject();
  274. this.model.set(data);
  275. if(this.model.isValid(true)){
  276. this.\$el.submit();
  277. }
  278. }
  279. });
  280. \t\t new LoginForm();
  281. \t\t});
  282. \t</script>
  283. ";
  284. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  285. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  286. yield from [];
  287. }
  288. /**
  289. * @codeCoverageIgnore
  290. */
  291. public function getTemplateName(): string
  292. {
  293. return "@UVDeskCoreFramework/forgotPassword.html.twig";
  294. }
  295. /**
  296. * @codeCoverageIgnore
  297. */
  298. public function isTraitable(): bool
  299. {
  300. return false;
  301. }
  302. /**
  303. * @codeCoverageIgnore
  304. */
  305. public function getDebugInfo(): array
  306. {
  307. return array ( 296 => 111, 290 => 108, 281 => 101, 279 => 100, 274 => 98, 268 => 95, 245 => 74, 241 => 72, 239 => 71, 233 => 69, 220 => 68, 203 => 61, 190 => 51, 187 => 50, 183 => 48, 177 => 45, 174 => 44, 172 => 43, 163 => 37, 156 => 33, 151 => 31, 144 => 26, 131 => 25, 105 => 8, 92 => 7, 69 => 3, 58 => 1, 56 => 5, 43 => 1,);
  308. }
  309. public function getSourceContext(): Source
  310. {
  311. return new Source("{% extends \"@UVDeskCoreFramework//Templates//layout.html.twig\" %}
  312. {% block title %}Forgot Password{% endblock %}
  313. {% set recaptchaDetail = recaptcha_service.getRecaptchaDetails() %}
  314. {% block templateCSS %}
  315. <style>
  316. #loginForm h1 {
  317. font-size: 28px;
  318. color: #6F6F6F;
  319. font-weight: 600;
  320. margin: 0px 0px 10px 0px;
  321. }
  322. .forgot-password-cta {
  323. position: absolute;
  324. font-size: 15px !important;
  325. right: 0px;
  326. top: 0px;
  327. }
  328. </style>
  329. {% endblock %}
  330. {% block pageWrapper %}
  331. <div class=\"uv-large-box-plank\">
  332. \t\t<div class=\"uv-large-box-rt\">
  333. \t\t\t<div class=\"uv-center-box uv-text-center\">
  334. <form action=\"\" method=\"post\" id=\"loginForm\">
  335. <div class=\"uv-adjacent-center\">
  336. <h1>{{ \"Forgot Password\" |trans}}</h1>
  337. <div class=\"uv-element-block\">
  338. <p>{{ \"Enter your email address and we will send you an email with instructions to update your login credentials.\" |trans}}</p>
  339. </div>
  340. <div class=\"uv-adjacent-form\">
  341. <div class=\"uv-adjacent-element-block\">
  342. <label>{{ \"Email\" |trans}}</label>
  343. <div class=\"uv-max-field\">
  344. <input class=\"uv-field\" type=\"email\" name=\"forgot_password_form[email]\">
  345. </div>
  346. </div>
  347. <div class=\"uv-adjacent-element-block\">
  348. {% if recaptchaDetail and recaptchaDetail.isActive == true %}
  349. <div class=\"clearfix\"></div>
  350. <div class=\"g-recaptcha\" data-sitekey=\"{{ recaptchaDetail.siteKey }}\"></div>
  351. <div class=\"clearfix\"></div>
  352. {% else %}
  353. <!-- Recaptcha will not support -->
  354. {% endif %}
  355. </div>
  356. <button class=\"uv-btn\">{{ 'Send Mail'|trans }}</button>
  357. </div>
  358. </div>
  359. </div>
  360. </form>
  361. \t\t</div>
  362. \t\t<div class=\"uv-large-box-lt\">
  363. \t\t\t<div class=\"uv-center-box uv-text-center\">
  364. \t\t\t\t<a href=\"https://www.uvdesk.com\">
  365. <img alt=\"UVdesk\" title=\"UVdesk\" src=\"{{ asset('bundles/uvdeskcoreframework/images/uvdesk-logo-symbol.svg') }}\">
  366. \t\t\t\t</a>
  367. </div>
  368. \t\t</div>
  369. \t</div>
  370. {% endblock %}
  371. {% block footer %}
  372. {{ parent() }}
  373. {% if recaptchaDetail and recaptchaDetail.isActive == true %}
  374. <script src='https://www.google.com/recaptcha/api.js'></script>
  375. {% endif %}
  376. <script type=\"text/javascript\">
  377. \t\t\$(function () {
  378. _.extend(Backbone.Validation.callbacks, {
  379. valid : function (view, attr, selector) {
  380. var \$el = view.\$('[name=\"' + attr + '\"]');
  381. \$el.removeClass('uv-field-error');
  382. \$el.parents('.uv-adjacent-element-block').find('.uv-field-message').remove();
  383. },
  384. invalid : function (view, attr, error, selector) {
  385. var \$el = view.\$('[name=\"' + attr + '\"]');
  386. \$el.addClass('uv-field-error');
  387. \$el.parents('.uv-adjacent-element-block').find('.uv-field-message').remove();
  388. \$el.parents('.uv-adjacent-element-block').append(\"<span class='uv-field-message'>\" + error + \"</span>\");
  389. }
  390. });
  391. var LoginModel = Backbone.Model.extend({
  392. validation: {
  393. 'forgot_password_form[email]': [{
  394. required: true,
  395. msg: '{{ \"This field is mandatory\"|trans }}'
  396. },{
  397. pattern: 'email',
  398. msg: '{{ \"This is not a valid email address\"|trans }}'
  399. }],
  400. {% if recaptchaDetail and recaptchaDetail.isActive == true %}
  401. 'g-recaptcha-response' : {
  402. fn: function(value) {
  403. if(grecaptcha.getResponse().length > 0)
  404. return false;
  405. else
  406. return true;
  407. },
  408. msg : '{{ \"Please select CAPTCHA\"|trans }}'
  409. }
  410. \t\t\t\t {% endif %}
  411. }
  412. });
  413. var LoginForm = Backbone.View.extend({
  414. \t\t el: 'form',
  415. events: {
  416. 'blur input': 'formChanged',
  417. 'click .uv-btn': 'submit'
  418. },
  419. initialize: function () {
  420. this.model = new LoginModel();
  421. Backbone.Validation.bind(this);
  422. },
  423. formChanged: function(e) {
  424. \t\t\t \tthis.model.set(Backbone.\$(e.currentTarget).attr('name'), Backbone.\$(e.currentTarget).val())
  425. \t\t\t \tthis.model.isValid([Backbone.\$(e.currentTarget).attr('name')])
  426. \t\t\t },
  427. submit: function (e) {
  428. e.preventDefault();
  429. var data = this.\$el.serializeObject();
  430. this.model.set(data);
  431. if(this.model.isValid(true)){
  432. this.\$el.submit();
  433. }
  434. }
  435. });
  436. \t\t new LoginForm();
  437. \t\t});
  438. \t</script>
  439. {% endblock %}", "@UVDeskCoreFramework/forgotPassword.html.twig", "/var/www/html/vendor/uvdesk/core-framework/Resources/views/forgotPassword.html.twig");
  440. }
  441. }