This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
DEMOS2/allauthdemo/templates/polls/view_poll_detail.html

22 lines
442 B
HTML
Raw Permalink Normal View History

{% 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 %}