templates/security/login.html.twig line 1

  1. {% extends 'layout.html.twig' %}
  2. {% block title %}Log in!{% endblock %}
  3. {% block stylesheets %}
  4. {{ parent() }}
  5. {% endblock %}
  6. {% block body %}
  7. Fluid Sign In

  8. Sign in to your Fluid wholesale account or easily create a new account.
  • {% if error %}
  • {{ error.messageKey|trans(error.messageData, 'security') }}
  • {% endif %}
  • type="text"
  • value="{{ last_username }}"
  • name="email"
  • id="inputEmail"
  • class="form-control"
  • placeholder="Email"
  • autocomplete="email"
  • style="margin-bottom: 20px;"
  • autofocus
  • >
  • type="password"
  • name="password"
  • placeholder="Password"
  • id="inputPassword"
  • class="form-control"
  • style="margin-bottom: 20px;"
  • autocomplete="current-password"
  • required
  • >
  • value="{{ csrf_token('authenticate') }}"
  • >
  • {% set url = 'app_forgot_password_request' %}
  • {% set url_register = 'distributor_reg' %}
  • {% if user_type == 'clinics' %}
  • {% set url = 'clinic_forgot_password_request' %}
  • {% set url_register = 'clinic_reg' %}
  • {% elseif user_type == 'distributors' %}
  • {% set url = 'distributors_forgot_password_request' %}
  • {% set url_register = 'distributor_reg' %}
  • {% elseif user_type == 'manufacturers' %}
  • {% set url = 'manufacturers_forgot_password_request' %}
  • {% set url_register = 'distributor_reg' %}
  • {% elseif user_type == 'retail' %}
  • {% set url = 'retail_forgot_password_request' %}
  • {% set url_register = 'retail_reg' %}
  • {% endif %}
  • href="{{ path(url) }}"
  • type="submit"
  • class="fs-6"
  • >
  • Forgot Password
  • |
  • Create Account
  • {% endblock %}
  • {% block javascripts %}
  • {{ parent() }}
  • {% endblock %}