blob: 5c81ccc23e14ee0f37d8f2b4b98600bb1a1cadf7 (
plain) (
tree)
|
|
<!-- Groups Modal -->
<div id="groups-modal" class="modal bottom-sheet">
<div class="modal-content">
<div class="row">
<h4>Groups</h4>
<p>Select the groups you want to share this article with</p>
<form name="search" method="POST" action="{{ path('group-shares-entry', {'entry': entry.id})}}">
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
{% if form_errors(form.groupshares) %}
<span class="black-text">{{ form_errors(form.groupshares) }}</span>
{% endif %}
{{ form_widget(form.groupshares) }}
{{ form_widget(form.save, {'attr': {'class': 'modal-action modal-close waves-effect waves-light btn'}}) }}
{{ form_rest(form) }}
</form>
</div>
</div>
</div>
|