show_question.tpl 726 B

12345678910111213141516171819
  1. {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
  2. {% block content %}
  3. {% if (app.request.get('exerciseId')) %}
  4. <a href="{{ url('exercise_dashboard', {cidReq : app.course_code, id_session:app.session_id, exerciseId: app.request.get('exerciseId') }) }}">
  5. <img src="{{ "back.png"|icon(22) }}">
  6. </a>
  7. {% endif %}
  8. <h3>
  9. {{ question.question }}
  10. {% if (app.request.get('exerciseId')) %}
  11. <a href="{{ url('exercise_question_edit', { cidReq : app.course_code, id_session:app.session_id, id: question.id }) }}">
  12. <img src="{{ "edit.png"|icon(22) }}">
  13. </a>
  14. {% endif %}
  15. </h3>
  16. {{ question_preview }}
  17. {% endblock %}