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