qr_generator-1.0.1/templates/qr-code.html.twig

templates/qr-code.html.twig
{#
  Template for rendering a QR Code entity.
  Available variables:
    - content: A render array of all fields.
    - label: The label of the entity.
    - url: The canonical URL.
#}

<article{{ attributes }}>
  <h2>{{ label }}</h2>

  <div class="qr-meta">
    <p>{{ content.uid }}</p>
    <p><strong>Created:</strong> {{ content.created }}</p>
  </div>

  {% if content.description %}
    <div class="qr-description">
      {{ content.description }}
    </div>
  {% endif %}

  <div class="qr-status">
    {{ content.status }}
  </div>
</article>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc