edit.html.twig 776B

12345678910111213141516171819202122232425
  1. {% extends "MuzichGroupBundle::layout.html.twig" %}
  2. {% block title %}Edition du groupe {{ group.name }}{% endblock %}
  3. {% block mainbox_classes %}mainbox_padding{% endblock %}
  4. {% block content %}
  5. <div id="group_add_box" style="">
  6. <h2>Edition du groupe {{ group.name }}</h2>
  7. <form class="nicelabels" name="{{ form_name }}" action="{{ path('group_update', { 'slug': group.slug }) }}" method="post" {{ form_enctype(form) }}>
  8. {% include "MuzichGroupBundle:Form:form.html.twig" %}
  9. {{ form_widget(form.tags, { 'attr': {'class': 'tagBox_tags_ids'} }) }}
  10. <div class="alignright">
  11. <input type="submit" class="button" value="{{ 'group.form.submit'|trans({}, 'groups') }}" />
  12. </div>
  13. </form>
  14. </div>
  15. {% endblock %}