{% extends 'old-bootstrap-modal-layout.html.twig' %}

{% block title %}{{'题目预览'|trans}}{% endblock %}


{% set modal_class = 'modal-lg' %}

{% block body %}
  
  {% set questionTemplate = getQuestionTypeTemplate(question.type,'do') %}
  {% if questionTemplate %}
    {% include questionTemplate with {analysisCssHide:0} %}
  {% endif %}

{% endblock %}

{% block footer %}
  <button type="button" class="btn btn-default" data-dismiss="modal">{{'关闭'|trans}}</button>
  {% include 'seajs_loader_compatible.html.twig' with {topxiawebbundle: true} %}
  <script>app.lazyLoad = function() { app.load('quiz-question/preview'); };</script>
{% endblock %}