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.
|
|
<div class="form-row {{ pregunta.alias }} {{ pregunta.class }}"> <div class="form-holder"> {% if pregunta.preTitulo is not empty %} <div class="{{ tarea[0].getProcesosId.alias }}_pretitulo">{{ pregunta.preTitulo|trans({})|raw }}</div> {% else %} <div class="{{ tarea[0].getProcesosId.alias }}_pretitulo no-contenido">{{ pregunta.preTitulo|trans({})|raw }}</div> {% endif %} <label for="{{ pregunta.alias }}" class="{{ tarea[0].getProcesosId.alias }}_nombre">{{ pregunta.nombre|trans({})|raw }}</label> {% if pregunta.descripcion is not empty %} <div class="{{ tarea[0].getProcesosId.alias }}_descripcion">{{ pregunta.descripcion|trans({})|raw }}</div> {% else %} <div class="{{ tarea[0].getProcesosId.alias }}_descripcion no-contenido">{{ pregunta.descripcion|trans({})|raw }}</div> {% endif %} {% if casoestudio is defined and casoestudio is not empty %} {% if respuestaca[pregunta.alias] is defined and respuestaca[pregunta.alias] is not empty %} <a class="btn btn-primary btn-sm casoestudiobtn" data-toggle="collapse" data-target="#casoestudio{{ pregunta.id }}">{{ 'Caso de estudio'|trans({}) }}</a> <div id="casoestudio{{ pregunta.id }}" class="collapse casoestudiodiv"> <pre>{{ respuestaca[pregunta.alias]|raw }}</pre> </div> {% endif %} {% else %} <a class="btn btn-primary btn-sm casoestudiobtn no-contenido" data-toggle="collapse" data-target="#casoestudio{{ pregunta.id }}"></a> <div id="casoestudio{{ pregunta.id }}" class="collapse casoestudiodiv no-contenido"> </div> {% endif %} {% if app.user.getType == 'trainer' %} <div><label>{{ 'Green Entrepreneur Answer'|trans({}) }}</label> {% if respuestas is empty %} <pre>{{ 'Not available'|trans({}) }}</pre> {% else %} {% set encontrada = false %} {% if respuesta[pregunta.alias] is defined %} {% set encontrada=true %} <pre>{{ respuesta[pregunta.alias] }}</pre> {% endif %} {% if not encontrada %} <pre>{{ 'Not available'|trans({}) }}</pre> {% endif %} {% endif %} </div> {% if pregunta.isRevisable %} <div> <label for="review-{{ pregunta.alias }}">{{ 'Supervisor Review Mark'|trans({}) }}</label> <input type="checkbox" class="form-control icheckbox_minimal" data-sonata-icheck="false" id="review-{{ pregunta.alias }}" name="review-{{ pregunta.alias }}" {% if reviewed[pregunta.alias] is defined and reviewed[pregunta.alias] == true %} checked {% endif%} %}></input> </div> <div> <label for="comment-{{ pregunta.alias }}">{{ 'Supervisor Comment'|trans({}) }}</label> <textarea class="form-control" id="comment-{{ pregunta.alias }}" name="comment-{{ pregunta.alias }}" rows="10"> {% if comentarios is defined and comentarios[pregunta.alias] is defined and comentarios[pregunta.alias].comentario is defined and comentarios[pregunta.alias].comentario is not empty %}{{ comentarios[pregunta.alias].comentario|raw}}{% endif %}</textarea> </div> {% endif %} {% endif %} {% if app.user.getType == 'green_entrepreneur' %} {% if respuestas is empty %} <textarea class="form-control" id="{{ pregunta.alias }}" name="{{ pregunta.alias }}" placeholder="{{ pregunta.placeholder|trans({}) }}" {{ pregunta.TipoPreguntaOptions|raw }} rows="10" {% if pregunta.isRequired %} parsley-minlength="3" parsley-required="true" required {% endif %}{% if not pregunta.editable and 'caso_estudio' not in app.user.username %} readonly {% endif %}></textarea> {% else %} {% set encontrada = false %} {% if respuesta[pregunta.alias] is defined %} {% set encontrada=true %} <textarea class="form-control" id="{{pregunta.alias }}" name="{{pregunta.alias }}" placeholder="{{ pregunta.placeholder|trans({}) }}" {{ pregunta.TipoPreguntaOptions|raw }} rows="10" {% if pregunta.isRequired %} parsley-minlength="3" parsley-required="true" required {% endif %}{% if not pregunta.editable and 'caso_estudio' not in app.user.username and 'caso_estudio' not in app.user.name %} readonly {% endif %}>{{ respuesta[pregunta.alias] }}</textarea> {% if pregunta.isRevisable and reviewed[pregunta.alias] and comentarios[pregunta.alias].comentario is defined and comentarios[pregunta.alias].comentario is not empty%} <div><label>{{ 'Supervisor Comment'|trans({}) }}</label> <pre>{{ comentarios[pregunta.alias].comentario|raw }}</pre> </div> {% endif %} {% endif %} {% if not encontrada %} <textarea class="form-control" id="{{ pregunta.alias }}" name="{{ pregunta.alias }}" placeholder="{{ pregunta.placeholder|trans({}) }}" {{ pregunta.TipoPreguntaOptions|raw }} rows="10" {% if pregunta.isRequired %} parsley-minlength="3" parsley-required="true" required {% endif %}{% if not pregunta.editable and 'caso_estudio' not in app.user.username %} readonly {% endif %}></textarea> {% endif %} {% endif %} {% endif %} </div></div>
|