add.tpl 570 B

123456789101112
  1. {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
  2. {% block content %}
  3. <a href="{{ url('exercise_distribution.controller:indexAction', {'exerciseId' : exerciseId, 'cidReq':course.code, 'id_session' : course_session.id}) }}">
  4. {{ 'List' |trans }}
  5. </a>
  6. <hr />
  7. <form action="{{ url('exercise_distribution.controller:addDistributionAction', {'exerciseId' : exerciseId, 'cidReq':course.code, 'id_session' : course_session.id}) }}"
  8. method="post" {{ form_enctype(form) }}>
  9. {{ form_widget(form) }}
  10. </form>
  11. {% endblock %}