Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

edit.html.twig 1.8 KB
Newer Older
arnaudbey's avatar
add app  
arnaudbey committed
1
<div class="row">
Arnaud Bey's avatar
Arnaud Bey committed
2
    <div class="col">
arnaudbey's avatar
add app  
arnaudbey committed
3
4
5
6
7
8
9
        {% set grid = rush.grid %}
        <form id="grid">
        {% include "MagicWordBundle:Round/Conquer:grid.html.twig" %}
        <input id="rushId" type="hidden" name="rushId" value="{{ rush.id }}"/>
        <input id="languageId" type="hidden" name="language" value="{{ rush.language.id }}">
        </form>
    </div>
Arnaud Bey's avatar
Arnaud Bey committed
10
    <div class="col">
arnaudbey's avatar
add app  
arnaudbey committed
11
12
13
14
15
16
        <div id="foundables">
            {% include 'MagicWordBundle:Grid:possible-inflections.html.twig' with {'foundableForms': grid.foundableForms, 'btn': false  } %}
        </div>
    </div>
</div>

Arnaud Bey's avatar
Arnaud Bey committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<div id="addword-modal" class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">{{ 'addwords' | trans }}</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div class="row">
            <div class="col" >
                <span onclick="rushEditor.addword()" class="btn btn-sm btn-outline-secondary">
                    {{ 'addword' | trans }}
                </span>
                <span onclick="rushEditor.generategrid()" id="generate-grid-btn" class="btn btn-sm btn-outline-secondary">
                    {{ 'generate_grid' | trans }}
                </span>
                <hr/>
                <ul id="word-list" class="list-group">
                </ul>
arnaudbey's avatar
add app  
arnaudbey committed
38
39
            </div>
        </div>
Arnaud Bey's avatar
Arnaud Bey committed
40
41
42
43
44
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary">Save changes</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
arnaudbey's avatar
add app  
arnaudbey committed
45
    </div>
Arnaud Bey's avatar
Arnaud Bey committed
46
  </div>
arnaudbey's avatar
add app  
arnaudbey committed
47
</div>