Added talk_improve template
[cascardo/ema.git] / eventos / templates / eventos / talk_improve.html
diff --git a/eventos/templates/eventos/talk_improve.html b/eventos/templates/eventos/talk_improve.html
new file mode 100644 (file)
index 0000000..e01e0ab
--- /dev/null
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+
+{% block content %}
+<h2>Aprimorar Trabalho: {{ talk.titulo }}</h2>
+
+<span>trilha: {{ talk.trilha }}</span> <br />
+<span>Tipo: {{ talk.tipo }}</span> <br />
+<span>Descricao curta: {{ talk.descricao_curta}}</span> <br />
+<span>Descricao longa: {{ talk.descricao_longa }}</span> <br />
+
+<ul>
+{% for i in improve  %}
+    <li class="{% cycle 'odd' 'even' %}">{{ i.comentario }}
+{% endfor %}
+</ul>
+
+<form id="improve-add" method="post" action="./">
+  {{ form.as_p }}
+  <input type="submit" value="Comentar" />
+</form>
+
+{% endblock %}