templates/WebSite/Security/_csrf_timezone.html.twig line 1

Open in your IDE?
  1. {# _csrf_token #}
  2. <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  3. {# la time zone #}
  4. <div class="form-group field {% if not timezone_at_cnx %}d-none{% endif %}">
  5.     <label for="login-timezone" class="form-label">
  6.         {% if available_languages|length %}
  7.             {% for language in available_languages %}
  8.                 <span lang="{{ language.short }}">{{ 'login.timezone' | trans({}, 'messages', language.short) }}</span>
  9.             {% endfor %}
  10.         {% else %}
  11.             <span>{{ 'login.timezone' | trans }}</span>
  12.         {% endif %}
  13.     </label>
  14.     <select class="form-control" id="login-timezone" name="m_sTimeZone">
  15.         {% for zone in timezone_list %}
  16.             <option value="{{ zone.zone }}" {% if last_timezone == zone.zone %} selected {% endif %}  >UTC/GMT {{ zone.diff_from_GMT }} - {{ zone.zone }}</option>
  17.         {% endfor %}
  18.     </select>
  19. </div>