]>
Commit | Line | Data |
---|---|---|
36f30fa3 NL |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ 'group.page_title'|trans }}{% endblock %} | |
4 | ||
5 | {% block content %} | |
6 | ||
7 | <div class="row"> | |
8 | <div class="col s12"> | |
9 | <div class="card-panel"> | |
10 | <div class="row"> | |
11 | <div class="input-field col s12"> | |
12 | <p class="help">{{ 'group.description'|trans|raw }}</p> | |
13 | ||
14 | <table class="bordered"> | |
15 | <thead> | |
16 | <tr> | |
17 | <th>{{ 'group.form.name_label'|trans }}</th> | |
18 | <th>{{ 'group.form.roles_label'|trans }}</th> | |
19 | <th>{{ 'group.list.actions'|trans }}</th> | |
20 | </tr> | |
21 | </thead> | |
22 | <tbody> | |
23 | {% for group in groups %} | |
24 | <tr> | |
25 | <td>{{ group.name }}</td> | |
26 | <td></td> | |
27 | <td> | |
28 | <a href="{{ path('group_edit', { 'id': group.id }) }}">{{ 'group.list.edit_action'|trans }}</a> | |
29 | </td> | |
30 | </tr> | |
31 | {% endfor %} | |
32 | </tbody> | |
33 | </table> | |
34 | <br /> | |
35 | <p> | |
36 | <a href="{{ path('group_new') }}" class="waves-effect waves-light btn">{{ 'group.list.create_new_one'|trans }}</a> | |
37 | </p> | |
38 | </div> | |
39 | </div> | |
40 | </div> | |
41 | </div> | |
42 | </div> | |
43 | ||
44 | {% endblock %} |