{% extends 'base.html' %}

{% from 'bootstrap/nav.html' import render_nav_item, render_breadcrumb_item %}

{% block content %}

    <h1>Navbar</h1>
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
                aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <div class="navbar-nav mr-auto">
                {{ render_nav_item('ara_form', 'Form') }}
                {{ render_nav_item('ara_nav', 'Nav') }}
                {{ render_nav_item('ara_pager', 'Pager') }}
                {{ render_nav_item('ara_util', 'Util') }}
            </div>
        </div>
    </nav>

    <h1>Breadcrumb</h1>
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            {{ render_breadcrumb_item('ara_form', 'Form') }}
            {{ render_breadcrumb_item('ara_nav', 'Nav') }}
            {{ render_breadcrumb_item('ara_pager', 'Pager') }}
            {{ render_breadcrumb_item('ara_util', 'Util') }}
        </ol>
    </nav>
    
{% endblock %}
