|
@ -11,17 +11,13 @@ function dismissRelatedLookupPopup(win, chosenId) { |
|
|
document.location.href = url; |
|
|
document.location.href = url; |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
{% block object-tools %} |
|
|
{% block object-tools-items %} |
|
|
<ul class="object-tools"> |
|
|
<li><a id="lookup_id_casa_legislativa" onclick="return showRelatedObjectLookupPopup(this);" |
|
|
<li> |
|
|
href="{% url 'admin:casas_casalegislativa_changelist' %}?codigo_interlegis__exact=" class="addlink"> |
|
|
<a id="lookup_id_casa_legislativa" onclick="return showRelatedObjectLookupPopup(this);" |
|
|
<span class="glyphicon glyphicon-plus"></span> |
|
|
href="{% url 'admin:casas_casalegislativa_changelist' %}?codigo_interlegis__exact=" class="addlink"> |
|
|
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} |
|
|
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} |
|
|
</a></li> |
|
|
</a> |
|
|
{{ block.super }} |
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
|
|
<input type="hidden" id="id_casa_legislativa" value="nenhum" onchange="alert('Eu mudei')"/> |
|
|
|
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|