Skip to content

Commit

Permalink
[2375] Add missing list snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jun 21, 2012
1 parent 6dbd3d7 commit f96bd46
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ckan/templates/development/snippets/list.html
@@ -0,0 +1,14 @@
<section class="module module-narrow">
{% with items=(("First", false), ("Second", true), ("Third", true), ("Fourth", false), ("Last", false)) %}
<h1 class="module-heading">{{ heading }}</h1>
<nav>
<ul class="unstyled simple-list">
{% for value, active in items %}
<li>
{% if show_icons %}<i class="icon-large icon-cog"></i> {% endif %}{{ value }}
</li>
{% endfor %}
</ul>
</nav>
{% endwith %}
</section>

0 comments on commit f96bd46

Please sign in to comment.