{% extends 'op_webgui/base.html' %}

{% load bootstrap3 %}

{% block bootstrap3_title %}{% block title %}ASN List{% endblock %}{% endblock %}

{% block content %}

    {% if asn_list %}
        <p>&nbsp;
        <span align="right"><a href="{% url 'op_webgui:router_create' %}" class="btn btn-success btn-sm">Add ASN</a></span>
        <table class="table table-hover">
            <tr>
                <th>&nbsp;</th>
                <th>ASN</th>
                <th>Name</th>
                <th>Contact</th>
            </tr>
        {% for asn in asn_list %}
            <tr>
                <td><a href="{% url 'op_webgui:aut_num_edit' asn.id %}" class="btn btn-default btn-xs">edit</a></td>
                <td><a href="{% url 'op_webgui:aut_num_detail' asn.id %}">{{ asn.asn }}</a></td>
                <td>{{ asn.name }}</td>
                <td>{{ asn.contact }}</td>
            </tr>
        {% endfor %}
        </table>
        {% if asn_list.has_previous or asn_list.has_next %}
            {% bootstrap_pagination asn_list %}
        {% endif %}
    {% else %}
        <p>No ASNs ¯\_(ツ)_/¯</p>
    {% endif %}

{% endblock %}

{% extends 'op_webgui/base.html' %}

{% load bootstrap3 %}

{% block bootstrap3_title %}{% block title %}ASN List{% endblock %}{% endblock %}

{% block content %}

    {% if asn_list %}
        <p>&nbsp;
        <span align="right"><a href="{% url 'op_webgui:aut_num_create' %}" class="btn btn-success btn-sm">Add ASN</a></span>
        <table class="table table-hover">
            <tr>
                <th>&nbsp;</th>
                <th>ASN</th>
                <th>Name</th>
                <th>Contact</th>
            </tr>
        {% for asn in asn_list %}
            <tr>
                <td><a href="{% url 'op_webgui:aut_num_edit' asn.id %}" class="btn btn-default btn-xs">edit</a></td>
                <td><a href="{% url 'op_webgui:aut_num_detail' asn.id %}">{{ asn.asn }}</a></td>
                <td>{{ asn.name }}</td>
                <td>{{ asn.contact }}</td>
            </tr>
        {% endfor %}
        </table>
        {% if asn_list.has_previous or asn_list.has_next %}
            {% bootstrap_pagination asn_list %}
        {% endif %}
    {% else %}
        <p>No ASNs ¯\_(ツ)_/¯</p>
    {% endif %}

{% endblock %}

Fix Add ASN button URL was pointing at op_webgui:router_create, update to op_webgui:aut_num_create
Fix Add ASN button URL was pointing at op_webgui:router_create, update to op_webgui:aut_num_create
