<body>
% for card in cards:
<div class="card">
- <h1 class="title">{{ card["title"] }}</h1>
- <p class="prompt">{{ card["prompt"] }}</p>
- <ul class="answers">
+ % if card["type"] == 'guilt':
+ <h1 id="title">GUILT CARD</h1>
+ <p id="prompt">Choose at least one of these guilts as your own:</p>
+ <ul id="answers">
% for answer in card["answers"]:
<li>{{ answer }}</li>
% end
<ul/>
+ % end
+ % if card["type"] == 'action':
+ <h1 id="title">ACTION CARD<br />{{ card["title"] }}</h1>
+ % for paragraph in card["paragraphs"]:
+ <p>{{ paragraph }}</p>
+ % end
+ % end
</div>
% end
</body>