{% extends "base.html" %}
{% load static %}
{% block content %}
<p><a class="btn btn-default" href="{% url 'pyfb-rating:pyfb_rating_customerrcallocation_list' %}">CustomerRcAllocation Listing</a></p>
<table class="table">
<tr>
<td>ID</td><td>Link</td>
    <td>tech_prefix</td>
    <td>priority</td>
    <td>discount</td>
    <td>allow_negative_margin</td>
    <td>description</td>
</tr>
{% for object in object_list %}
<tr>
    <td>{{object.pk}}</td>
    <td><a href="{{object.get_absolute_url}}">{{object}}</a></td>
    <td>{{ object.tech_prefix }}</td>
    <td>{{ object.priority }}</td>
    <td>{{ object.discount }}</td>
    <td>{{ object.allow_negative_margin }}</td>
    <td>{{ object.description }}</td>
</tr>
{% endfor %}
</table><a class="btn btn-primary" href="{% url 'pyfb-rating:pyfb_rating_customerrcallocation_create' %}">Create new CustomerRcAllocation</a>
{% endblock %}
