home
·
contact
·
privacy
projects
/
guiltcards
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75c9205
)
Fix id/class mix-up.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 15 Nov 2020 18:32:44 +0000
(19:32 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 15 Nov 2020 18:32:44 +0000
(19:32 +0100)
views/_card.tpl
patch
|
blob
|
history
diff --git
a/views/_card.tpl
b/views/_card.tpl
index d5a541a0a32097324ec25dbfe5d5464c5ccfe4d0..e7533dde7fc48397858c8506cf13b4d616e9751d 100644
(file)
--- a/
views/_card.tpl
+++ b/
views/_card.tpl
@@
-1,15
+1,15
@@
<div class="card">
% if card["type"] == 'guilt':
<div class="card">
% 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">
+ <h1
class
="title">GUILT CARD</h1>
+ <p
class
="prompt">Choose at least one of these guilts as your own:</p>
+ <ul
class
="answers">
% for answer in card["answers"]:
<li>{{ answer }}</li>
% end
<ul/>
% end
% if card["type"] == 'action':
% for answer in card["answers"]:
<li>{{ answer }}</li>
% end
<ul/>
% end
% if card["type"] == 'action':
- <h1
id
="title">ACTION CARD<br />{{ card["title"] }}</h1>
+ <h1
class
="title">ACTION CARD<br />{{ card["title"] }}</h1>
% for paragraph in card["paragraphs"]:
<p>{{ paragraph }}</p>
% end
% for paragraph in card["paragraphs"]:
<p>{{ paragraph }}</p>
% end