mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-17 06:30:25 +00:00
template updates
This commit is contained in:
parent
a7951353a8
commit
ee2ca9feff
2 changed files with 6 additions and 6 deletions
|
|
@ -9,7 +9,7 @@
|
|||
{% else %}
|
||||
<span class="deleted">-</span>
|
||||
{% endif %}
|
||||
<a href="{{ action.get_admin_url }}">{{ action }}</a>
|
||||
{{ action }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
{% block page_title %}{% blocktrans with action=action model_name=model_name %}{{ action_name }} {{ model_name }}{% endblocktrans %}{% endblock page_title %}
|
||||
|
||||
{% block page_title_link %}
|
||||
<a href="#" class="btn btn-info">History</a>
|
||||
<a href="{% url view|admin2_urlname:"history" pk=object.pk %}" class="btn btn-info">History</a>
|
||||
{% endblock page_title_link %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
|
|
@ -41,14 +41,14 @@
|
|||
{% block content %}
|
||||
|
||||
<form method="post">
|
||||
|
||||
|
||||
{% if view.model_admin.save_on_top %}
|
||||
{% include "djadmin2theme_default/includes/save_buttons.html" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="row-fluid"><!-- begin main form row -->
|
||||
<div class="span12">
|
||||
|
||||
|
||||
<div class="change_form">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
|
|
@ -63,11 +63,11 @@
|
|||
|
||||
</div>
|
||||
</div><!-- end main form row -->
|
||||
|
||||
|
||||
{% if view.model_admin.save_on_bottom %}
|
||||
{% include "djadmin2theme_default/includes/save_buttons.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue