Skip to content

Instantly share code, notes, and snippets.

@olafghanizadeh
Created December 7, 2019 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save olafghanizadeh/2ef54ea7a058f0c743109c1f1b3a0a34 to your computer and use it in GitHub Desktop.
Save olafghanizadeh/2ef54ea7a058f0c743109c1f1b3a0a34 to your computer and use it in GitHub Desktop.
{% block content %}
<div class="row card-columns">
{% for i in index %}
<div class="col-12">
<div class="card my-5">
<h3 class="card-header">Choice {{ i }}</h3>
<div class="card-body px-5">
<div class="row card-deck">
{% for choice in form.choice_1 %}
<div class="card">
<h4 class="card-header">{{ choice.choice_label }}</h4>
<div class="card-body">
{{ choice.tag }}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% next_button %}
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment