Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently
This commit is contained in:
commit
7084bd1b16
155 changed files with 8102 additions and 0 deletions
21
allauthdemo/templates/polls/view_poll_detail.html
Executable file
21
allauthdemo/templates/polls/view_poll_detail.html
Executable file
|
@ -0,0 +1,21 @@
|
|||
{% extends "bases/bootstrap-with-nav.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load bootstrap3 %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="container">
|
||||
<h1>Poll: {{poll.question_text}}</h1>
|
||||
{% if poll.options %}
|
||||
<ul class="list-group">
|
||||
{% for option in poll.options.all %}
|
||||
<li class="list-group-item">{{ option.choice_text }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No options are listed.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
Reference in a new issue