app/template/ss4002/Help/tradelaw.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
  4. http://www.lockon.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% extends 'default_frame.twig' %}
  9. {% block main %}
  10.     <section class="p-help">
  11.         <div class="p-help__heading">
  12.             <h1 class="c-page-title">
  13.                 <span class="c-page-title__text">{{ '特定商取引法に基づく表記'|trans }}</span>
  14.             </h1>
  15.         </div>
  16.         <div class="p-help__contents">
  17.             <div class="p-help__tradelaw">
  18.                 {% if tradelaws is defined and tradelaws is not null %}
  19.                     {% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  20.                         <dl class="p-help__tradelaw-parts u-dl-sanitize">
  21.                             <dt class="p-help__tradelaw-parts-label">
  22.                                 <span class="p-help__tradelaw-parts-label-text">{{ tradelaw.name }}</span>
  23.                             </dt>
  24.                             <dd class="p-help__tradelaw-parts-detail">
  25.                                 <div class="p-help__tradelaw-box">
  26.                                     <div class="p-help__tradelaw-box-item">
  27.                                         <p class="p-help__tradelaw-text">{{ tradelaw.description|raw }}</p>
  28.                                     </div>
  29.                                 </div>
  30.                             </dd>
  31.                         </dl>
  32.                     {% endfor %}
  33.                 {% endif %}
  34.             </div>
  35.         </div>
  36.     </section>
  37. {% endblock %}