templates/front/appointment/index.html.twig line 1

Open in your IDE?
  1. {% extends 'index.html.twig' %}
  2. {% block content %}
  3.     <div class="bg_blue main-container">
  4.     </div>
  5. {% endblock %}
  6. {% block javascripts %}
  7.     {{ parent() }}
  8.     <script src="https://js.stripe.com/v3"></script>
  9.     <script type="text/javascript" nonce="{{ csp_nonce('script') }}">
  10.            let isLoggedUser = '{{ loggedUser }}' // used in appointment.js
  11.            let needRegister = '{{ needRegister }}' // used in appointment.js
  12.            let gon = '{{ app.session.get('gon', false) }}' // used in appointment.js
  13.            let paypalID = '{{ paypal_client_id }}'; // used in payment.js
  14.            const STRIPE_PUBLIC_ID = '{{ stripe_public_id }}'; // used in payment.js
  15.            const BASE_HOST = '{{ app.request.schemeAndHttpHost }}'; // used in payment.js
  16.            const REINIT_STEP = '{{ reinit }}'; // used in payment.js
  17.            const LOGOUT = '{{ logout }}'; // used in payment.js
  18.            let maxStep = '{{ app.session.get('maxStep', 1) }}';
  19.            let LOCALE = '{{ app.request.locale }}';
  20.     </script>
  21.     {{ encore_entry_script_tags('rdv') }}
  22. {% endblock %}