Groups
Groups
Sign in
Groups
Groups
django-mptt-dev
Conversations
About
Send feedback
Help
Way to render tree to bootstrap rows
155 views
Skip to first unread message
Владислав Полухин
unread,
Feb 4, 2012, 1:51:28 AM
2/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
I'm using
twitter bootstrap
and wanna render tree as:
<div class="row">
<div class="span4">
<h3><a href="#">{{ node.title }}</a></h3>
{% if not node.is_leaf_node %}
<ul class="children">{{ children }}</ul>
{% endif %}
</div>
<div class="span4">
<h3><a href="#">{{ node.title }}</a></h3>
{% if not node.is_leaf_node %}
<ul class="children">{{ children }}</ul>
{% endif %}
</div>
</div>
<div class="row">
<div class="span4">
<h3><a href="#">{{ node.title }}</a></h3>
{% if not node.is_leaf_node %}
<ul class="children">{{ children }}</ul>
{% endif %}
</div>
<div class="span4">
<h3><a href="#">{{ node.title }}</a></h3>
{% if not node.is_leaf_node %}
<ul class="children">{{ children }}</ul>
{% endif %}
</div>
</div>
How can I do this?
Reply all
Reply to author
Forward
0 new messages