{% extends "MuzichGroupBundle::layout.html.twig" %}

{% block title %}{{ 'title.editgroup'|trans({'%group_name%':group.name}, 'userui') }}{% endblock %}
{% block mainbox_classes %}mainbox_padding{% endblock %}

{% block content %}

  <div id="group_add_box" style="">

    <h2>Edition du groupe {{ group.name }}</h2>
  
    <form class="nicelabels" name="{{ form_name }}" action="{{ path('group_update', { 'slug': group.slug }) }}" method="post" {{ form_enctype(form) }}>
      
      {% include "MuzichGroupBundle:Form:form.html.twig" %}
  
      {{ form_widget(form.tags, { 'attr': {'class': 'tagBox_tags_ids'} }) }}
      
      <div class="alignright">
        <input type="submit" class="button" value="{{ 'group.form.submit'|trans({}, 'groups') }}" />
      </div>
    </form>
  
  </div>

{% endblock %}