From b5d41beaa716b1615ea1125789d69021184d62e8 Mon Sep 17 00:00:00 2001 From: Cesar Carvalho Date: Fri, 9 Nov 2018 17:46:40 -0200 Subject: [PATCH] inicio da nova tela da votacao em bloco - em andamento --- .../votacao/votacao_para_votacaoembloco.html | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 sapl/templates/sessao/votacao/votacao_para_votacaoembloco.html diff --git a/sapl/templates/sessao/votacao/votacao_para_votacaoembloco.html b/sapl/templates/sessao/votacao/votacao_para_votacaoembloco.html new file mode 100644 index 000000000..0fa6d45f3 --- /dev/null +++ b/sapl/templates/sessao/votacao/votacao_para_votacaoembloco.html @@ -0,0 +1,77 @@ +{% extends "crud/detail.html" %} +{% load i18n %} + +{% block detail_content %} +
+ {% csrf_token %} + +
+ {{votacao_titulo}} + + {% if form.errors %} +
+

Os seguintes erros foram encontrados:

+
    + {% for field in form %} + {% if field.errors %} + {% if field.label == 'total'%} +
  • O total de votos não corresponde com a quantidade de presentes!
  • + {% else %} +
  • O campo {{field.label}} é obrigatório!
  • + {% endif %} + {% endif %} + {% endfor %} +
+
+ {% endif %} + + +
+ Matéria: {{materia.materia|safe}} +
+ Ementa: {{materia.ementa|safe}} +
+
+ Total presentes: {{total_presentes}} (com presidente) + +
+
+ +
+
Sim:
+
Não:
+
Abstenções:
+
+ +
+
+ A totalização inclui o voto do Presidente? + +
+ +
+ Resultado da Votação + +
+
+ +
+
+ Observações + +
+
+ +

+ + +
+
+{% endblock detail_content %}