app/template/flapshop/Shopping/alert.twig line 1

Open in your IDE?
  1. {% if error_only is not defined %}
  2.     {% set error_only = false %}
  3. {% endif %}
  4. {% for error in app.session.flashbag.get('eccube.front.error') %}
  5.     <div class="ec-cartRole__error">
  6.         <div class="ec-alert-warning">
  7.             <div class="ec-alert-warning__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"></div>
  8.             <div class="ec-alert-warning__text">
  9.                 {{ error|trans|nl2br }}
  10.             </div>
  11.         </div>
  12.     </div>
  13. {% endfor %}
  14. {% if error_only == false %}
  15. {% for error in app.session.flashbag.get('eccube.front.warning') %}
  16.     <div class="ec-cartRole__error">
  17.         <div class="ec-alert-warning">
  18.             <div class="ec-alert-warning__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}">
  19.             </div>
  20.             <div class="ec-alert-warning__text">
  21.                 {{ error|trans|nl2br }}
  22.             </div>
  23.         </div>
  24.     </div>
  25. {% endfor %}
  26. {% endif %}