{% extends "admin/change_form.html" %}
{% load i18n admin_modify adminmedia %}

{% block extrahead %}
    {{ block.super }}
    <script type="text/javascript" src="{{ MEDIA_URL }}yama/js/jquery.js"></script>
    <script type="text/javascript" src="{{ MEDIA_URL }}yama/js/menu/change_list.js"></script>
    <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}yama/css/admin.css"/>
{% endblock %}

{% block after_field_sets %}
    {% if not add %}
        <div style="clear: both; padding-top: 2em">
            <h3>{{ _("menu items")|capfirst }}</h3>
            <ul class="object-tools"><li><a href="item/add/" class="addlink">{% trans 'Add a new item' %}</a></li></ul>
            {% include 'admin/yama/menu/item_table.html' %}
        </div>
    {% endif %}
{% endblock %}


