{% set layout = "ClarolineCoreBundle:Workspace:layout.html.twig" %} {% if isDesktop() %} {% set layout = "ClarolineCoreBundle:Desktop:layout.html.twig" %} {% block breadcrumb %} {{ macros.breadcrumbs([ { 'icon': 'fa fa-briefcase', 'name': 'desktop'|trans({}, 'platform'), 'href': path('claro_desktop_open') }, { 'name': 'bank of questions' | trans, 'href': path('ujm_question_index') }, { 'name': 'question' | trans, 'href': '' } ]) }} {% endblock %} {% else %} {% block resourceBreadcrumb %}
  • {{ _resource.getResourceNode().getName() }}
  • {{ 'bank of questions' | trans }}
  • {% endblock %} {% endif %} {% extends layout %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %} {{ 'paper' | trans }} {{ 'question' | trans }} {% endblock %} {% block section_content %}

    {{ interactionToDisplayed.interaction.question.title }}

    {% if exoID == -1 %} {{ 'back' | trans }} {% else %} {{ 'back' | trans }} {% endif %}
    {% include "UJMExoBundle:Partial:interactionPaper.html.twig" %}
    {{ form_widget(form) }}
    {{ interactionToDisplayed.htmlWithoutValue | raw }}
    {% if interactionToDisplayed.interaction.hints is not empty %} {% set tryInteraction = interactionToDisplayed %} {% include "UJMExoBundle:Partial:hintTryInteraction.html.twig" %} {% endif %}
    {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}