~enrpkey/encuestahdp-115/MainBranch

« back to all changes in this revision

Viewing changes to SitioEncuesta/templates/detalle_encuesta.html

  • Committer: Enrique
  • Date: 2017-06-26 03:52:10 UTC
  • Revision ID: enrtest44@gmail.com-20170626035210-xbfseifzzeuf8ffc
SemiTerminado

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "shared.html" %}
 
2
{% block titulo%}
 
3
{% endblock %}
 
4
 
 
5
{% block content %}
 
6
<h3>Detalle {{ encuesta }}</h3>
 
7
<hr/>
 
8
<dl class="dl-horizontal">
 
9
  <dt>idEncuesta: </dt> <dd>{{encuesta.id_encuesta }}</dd>
 
10
  <dt>Titulo: </dt> <dd>{{encuesta.titulo}}</dd>
 
11
  <dt>Fecha: </dt> <dd>{{encuesta.fecha_creacion}}</dd>
 
12
 
 
13
  <h1>{{ encuesta.descripcion }}</h1>
 
14
<ul>
 
15
{% for respuesta in encuesta.respuesta_set.all %}
 
16
    <li>{{ respuesta.contenido}}</li>
 
17
 
 
18
{% endfor %}
 
19
</ul
 
20
</dl>
 
21
  <a href="{% url 'encuesta_list' %}" class="btn btn-default">Vover a la lista</a>
 
22
{% endblock %}