]>
Commit | Line | Data |
---|---|---|
9da2f495 MG |
1 | <tmpl_if levels> |
2 | <h2>Beginner</h2> | |
3 | <div class="list-group"> | |
4 | <tmpl_loop beginner><a class="list-group-item" href="<tmpl_var id>"><tmpl_var name></a> | |
5 | </tmpl_loop></div> | |
6 | ||
7 | <h2>Easy</h2> | |
8 | <div class="list-group"> | |
9 | <tmpl_loop easy><a class="list-group-item" href="<tmpl_var id>"><tmpl_var name></a> | |
10 | </tmpl_loop></div> | |
11 | ||
12 | <h2>Medium</h2> | |
13 | <div class="list-group"> | |
14 | <tmpl_loop medium><a class="list-group-item" href="<tmpl_var id>"><tmpl_var name></a> | |
15 | </tmpl_loop></div> | |
16 | ||
17 | <h2>Hard</h2> | |
18 | <div class="list-group"> | |
19 | <tmpl_loop hard><a class="list-group-item" href="<tmpl_var id>"><tmpl_var name></a> | |
20 | </tmpl_loop></div> | |
21 | ||
22 | <tmpl_else> | |
23 | <div class="list-group"> | |
24 | <tmpl_loop problems><a class="list-group-item" href="<tmpl_var id>"><tmpl_var name></a> | |
25 | </tmpl_loop></div> | |
26 | </tmpl_if> |