templates/AtechNetCoreBundle/Customer/forgotPassword.html.twig line 1

Open in your IDE?
  1. {% extends 'AtechNetCoreBundle/base.html.twig' %}
  2. {% import "AtechNetCoreBundle/input-macros.html.twig" as inputMacros %}
  3. {% block content %}
  4.     <div class="main-content">
  5.         <div class="container">
  6.             <ul class="breadcrumb">
  7.                 {% for breadcrumb in breadcrumbs %}
  8.                     <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
  9.                 {% endfor %}
  10.             </ul>
  11.             <div class="forgot-password-content p-3 p-lg-5 p-sm-4 col-sm-8 col-lg-12 m-sm-auto my-sm-5">
  12.                 <h1>{{ heading_title }}</h1>
  13.                 {% if errorMessage != '' %}
  14.                     <div class="alert alert-danger">{{ errorMessage | trans }}</div>
  15.                 {% endif %}
  16.                 {{ form_start(form) }}
  17.                     <div class="row">
  18.                         <div class="col-sm-12 col-lg-6">
  19.                             <fieldset id="forgot-password" class="p-0 pb-lg-2">
  20.                                 <div class="required mb-3">
  21.                                     {{- inputMacros.inputGroup(form.email, {'autoComplete': 'email'}) -}}
  22.                                 </div>
  23.                             </fieldset>
  24.                             <div class="buttons">
  25.                                 <button type="submit" class="btn btn-primary btn-login mb-0">{{ 'Reset password' | trans }}</button>
  26.                             </div>
  27.                         </div>
  28.                     </div>
  29.                 {{ form_end(form) }}
  30.             </div>
  31.             {{ include(template_from_string(contentBottom)) }}
  32.         </div>
  33.     </div>
  34. {% endblock %}
  35. {% block title %}{{ heading_title }} | {{ parent() }}{% endblock %}
  36. {% block robots %}
  37.     {% if 
  38.         ( domainId in [ const('Domain::DOMAIN_ID_RT_SK'), const('Domain::DOMAIN_ID_WS_SK') ] and app.request.locale != 'sk' ) or 
  39.         ( domainId in [ const('Domain::DOMAIN_ID_RT_HU'), const('Domain::DOMAIN_ID_WS_HU') ] and app.request.locale != 'hu' ) or 
  40.         ( domainId in [ const('Domain::DOMAIN_ID_RT_CZ'), const('Domain::DOMAIN_ID_WS_CZ') ] and app.request.locale != 'cz' ) or 
  41.         ( domainId in [ const('Domain::DOMAIN_ID_RT_EU'), const('Domain::DOMAIN_ID_WS_EU') ] and app.request.locale != 'en' ) 
  42.     %}
  43.         <meta name="robots" content="noindex, nofollow, noarchive">
  44.     {% else %}
  45.         <meta name="robots" content="noindex">
  46.     {% endif %}
  47. {% endblock %}
  48. {% block header %}
  49.     {{ include(template_from_string(header)) }}
  50. {% endblock %}
  51. {% block footer %}
  52.     {{ include(template_from_string(footer)) }}
  53. {% endblock %}