Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.8 KiB

5 years ago
  1. <div class="form-row {{ pregunta.alias }} {{ pregunta.class }}">
  2. <div class="form-holder">
  3. {% if pregunta.preTitulo is not empty %}
  4. <div class="{{ tarea[0].getProcesosId.alias }}_pretitulo">{{ pregunta.preTitulo|trans({})|raw }}</div>
  5. {% endif %}
  6. <label for="{{ pregunta.alias }}-`+index+`" class="{{ tarea[0].getProcesosId.alias }}_nombre">{{ pregunta.nombre|trans({})|raw }}</label>
  7. {% if pregunta.descripcion is not empty %}
  8. <div class="{{ tarea[0].getProcesosId.alias }}_descripcion">{{ pregunta.descripcion|trans({})|raw }}</div>
  9. {% else %}
  10. <div class="{{ tarea[0].getProcesosId.alias }}_descripcion no-contenido">{{ pregunta.descripcion|trans({})|raw }}</div>
  11. {% endif %}
  12. {% if casoestudio is defined and casoestudio is not empty %}
  13. {% for respuestaca in casoestudio %}
  14. {% if respuestaca.preguntas.id == pregunta.id %}
  15. <a class="btn btn-primary btn-sm casoestudiobtn" data-toggle="collapse" data-target="#casoestudio{{ pregunta.id }}`+index+`">{{ 'Caso de estudio'|trans({}) }}</a>
  16. <div id="casoestudio{{ pregunta.id }}`+index+`" class="collapse casoestudiodiv">
  17. <pre>{{ respuestaca.valor|json_decode[0]|raw }}</pre>
  18. </div>
  19. {% endif %}
  20. {% endfor %}
  21. {% endif %}
  22. <input type="text" class="form-control" id="{{ pregunta.alias }}-`+index+`" name="{{ pregunta.alias }}[]" placeholder="{{ pregunta.placeholder|trans({}) }} {% if not pregunta.editable and 'caso_estudio' not in app.user.username %} readonly {% endif %}"><span id="elfinder_button" class="btn btn-primary elfinder_button" >{{ 'Search'|trans({}) }}</span>
  23. </div>
  24. </div>