{% load lib_tags %}
<nav class="navbar" role="navigation">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <div class="btn-toolbar {{ extraclasses }}">{% for entry in entries %}
                <ul class=" nav navbar-nav btn-group">{% if entry.menu %}
                    <a class="btn btn-default dropdown-toggle" data-toggle="dropdown">{% if entry.img %}<i class="{{ entry.img}}"></i>{% endif %}{{ entry.label }} <span class="caret"></span></a>
                    <ul class="dropdown-menu">{% for sentry in entry.menu %}
                      <li>{% render_link sentry %}</li>
                      {% endfor %}</ul>
                    {% else %}{% render_link entry "btn" %}{% endif %}
                </ul>
                {% endfor %}
                <ul class="nav navbar-nav navbar-right">
                    {% block extracontent %}{% endblock %}
                </ul>
            </div>
        </div>
    </div>
</nav>


{% load lib_tags %}

        <!-- Brand and toggle get grouped for better mobile display -->
            <div class="btn-toolbar {{ extraclasses }}">{% for entry in entries %}
                <ul class="nav navbar-nav action-buttons btn-group">{% if entry.menu %}
                    <a class="btn btn-default dropdown-toggle {{ entry.label }}" data-toggle="dropdown">{% if entry.img %}<i class="{{ entry.img}}"></i>{% endif %}{{ entry.label }} <span class="caret"></span></a>
                    <ul class="dropdown-menu">{% for sentry in entry.menu %}
                      <li>{% render_link sentry %}</li>
                      {% endfor %}</ul>
                    {% else %}{% render_link entry "btn" %}{% endif %}
                </ul>
                {% endfor %}
                <ul class="nav navbar-nav action-buttons navbar-right">
                    {% block extracontent %}{% endblock %}
                </ul>
            </div>


Add css class to add margin-bottom
Add css class to add margin-bottom
