templates/partials/setup/character-sheet.html.twig line 1

Open in your IDE?
  1. <button type="button" class="button button--full-height" id="qr-code-button" data-dialog="#qr-code-dialog" disabled>{{ 'setup.buttons.qr_code_button'|trans }}</button>
  2. {% embed 'includes/dialog.html.twig' with {
  3.     id: 'qr-code-dialog',
  4.     background: 'hide',
  5.     title: 'setup.qr_code.title'|trans
  6. } %}
  7.     {% import 'macros/forms.html.twig' as forms %}
  8.     {% block body %}
  9.         <p>{{ 'setup.qr_code.intro'|trans }}</p>
  10.         <a href="{{ path('sheet') }}" target="_blank" rel="noopener noreferrer" id="qr-code-link" disabled>
  11.             <span id="qr-code" class="qr"></span>
  12.         </a>
  13.         <p class="mt-4" id="include-groups">{{ 'setup.qr_code.include'|trans }}</p>
  14.         <div class="slot slot--2">
  15.             {{ forms.switch({
  16.                 node: 'div',
  17.                 label: 'setup.qr_code.travellers'|trans,
  18.                 name: 'include-travellers',
  19.                 id: 'include-travellers',
  20.                 checked: true,
  21.                 attributes: {
  22.                     'aria-describedby': 'include-groups'
  23.                 }
  24.             }) }}
  25.             {{ forms.switch({
  26.                 node: 'div',
  27.                 label: 'setup.qr_code.fabled'|trans,
  28.                 name: 'include-fabled',
  29.                 id: 'include-fabled',
  30.                 checked: true,
  31.                 attributes: {
  32.                     'aria-describedby': 'include-groups'
  33.                 }
  34.             }) }}
  35.         </div>
  36.     {% endblock %}
  37. {% endembed %}