{% extends "rules/base.html" %} {% load bootstrap3 %} {% block sidebar %}

Add a Source

{% if perms.rules.source_edit %}

Action

{% endif %} {% endblock %} {% block content %} {% if update %} {% include "rules/import_and_add_source.html" %} {% else %}
Select one of the {{ sources|length }} Source{{ sources|length|pluralize }}
{% for source, params in sources.items %}
{% if not params.added %} {% if perms.rules.source_edit %} {% else %} {% endif %} {% else %} {% endif %}
{{ source }}
{{ params.summary }}
License: {{ params.license }}
Vendor: {{ params.vendor }}
{% endfor %}
{% endif %} {% endblock %}