diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-04-27 19:17:19 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-23 09:27:23 +0200 |
commit | 5847dd3572caf06c0e0d5e307241c3b6bc3f8611 (patch) | |
tree | 8905d4de388dd18239ea323f4650ff0070064eab /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_share_groups.html.twig | |
parent | 2585953e0dae631b65c59b0e31196d65bdde84df (diff) | |
download | wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.gz wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.zst wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.zip |
MOAR WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_share_groups.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_share_groups.html.twig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_share_groups.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_share_groups.html.twig new file mode 100644 index 00000000..5c81ccc2 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_share_groups.html.twig | |||
@@ -0,0 +1,24 @@ | |||
1 | <!-- Groups Modal --> | ||
2 | <div id="groups-modal" class="modal bottom-sheet"> | ||
3 | <div class="modal-content"> | ||
4 | <div class="row"> | ||
5 | <h4>Groups</h4> | ||
6 | <p>Select the groups you want to share this article with</p> | ||
7 | <form name="search" method="POST" action="{{ path('group-shares-entry', {'entry': entry.id})}}"> | ||
8 | {% if form_errors(form) %} | ||
9 | <span class="black-text">{{ form_errors(form) }}</span> | ||
10 | {% endif %} | ||
11 | |||
12 | {% if form_errors(form.groupshares) %} | ||
13 | <span class="black-text">{{ form_errors(form.groupshares) }}</span> | ||
14 | {% endif %} | ||
15 | |||
16 | {{ form_widget(form.groupshares) }} | ||
17 | {{ form_widget(form.save, {'attr': {'class': 'modal-action modal-close waves-effect waves-light btn'}}) }} | ||
18 | |||
19 | {{ form_rest(form) }} | ||
20 | </form> | ||
21 | |||
22 | </div> | ||
23 | </div> | ||
24 | </div> | ||