1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "base.html.twig" %}

{% block title %}
  {{ parent() }}
  {{lemma.value}}
{% endblock %}

{% import "lexical-entry/macros.html.twig" as macros %}

{% block body %}
  <h1>{{lemma.value}}</h1>
  <ul>
  {% for i, lexicalentry in lemma.lexicalentries %}
    <li>
      {{i}} Acception = <a href="{{ path("lexicalentry_display", {'id': lexicalentry.id}) }}">{{lexicalentry.acceptionUniq}}</a>
    </li>
  {% endfor %}
  </ul>

  <h2>Polylexicaux</h2>
  <ul>
  {% for i, entry in entries %}
    <li>
      {{i}} Acception = {{ macros.entryLink(entry) }}
    </li>
  {% endfor %}
  </ul>
{% endblock %}