Как переместить картинку слева от категории списка?
<ul class="dropdown-menu" data-navigation="dropdown-menu">
{% category_tree depth=2 as tree_categories %}
<li><a tabindex="-1" href="{% url 'catalogue:index' %}">{% trans "All products" %}</a></li>
{% if tree_categories %}
<li class="divider"></li>
{% for tree_category, info in tree_categories %}
{% if info.has_children %}
<li class="dropdown-submenu">
{% thumbnail tree_category.image "20x20" upscale=False as thumb %}
<img class="img-thumbnail"
src="{{ thumb.url }}"
alt="{{ category.name }}" title="{{ category.name }}"
style="right: 10px;"/>
{% endthumbnail %}
<a tabindex="-1" href="{{ tree_category.get_absolute_url }}">{{ tree_category.name }}</a>
<ul class="dropdown-menu">
{% else %}
{% thumbnail tree_category.image "20x20" upscale=False as thumb %}
<img class="img-thumbnail"
src="{{ thumb.url }}"
alt="{{ category.name }}" title="{{ category.name }}"
style="right: 10px;"/>
{% endthumbnail %}
<li><a tabindex="-1" href="{{ tree_category.get_absolute_url }}">{{ tree_category.name }}</a></li>
{% endif %}
{% for close in info.num_to_close %}
</ul></li>
{% endfor %}
{% endfor %}
{% endif %}
<li class="divider"></li>
{% block nav_dropdown_extra_items %}
<li><a href="{% url 'offer:list' %}">{% trans "Offers" %}</a></li>
{% endblock %}
</ul>
<li>
<a href="/contacts/">
{% trans "Contacts" %}
</a>
</li>
{% block nav_extra %}
{% endblock %}
</ul>