Skip to content

Commit

Permalink
Merge pull request #794 from samuelveigarangel/issue-793
Browse files Browse the repository at this point in the history
Adiciona link para voltar para listagem do modelo na página de edição
  • Loading branch information
samuelveigarangel authored Jul 1, 2024
2 parents f8d38c0 + d1cd341 commit aee3743
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions core/templates/modeladmin/edit.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "modeladmin/edit.html" %}
{% load i18n modeladmin_tags wagtailadmin_tags wagtailcore_tags %}
{% block header %}
{% include "modeladmin/includes/header_with_history.html" with title=view.get_page_title subtitle=view.get_page_subtitle icon=view.header_icon merged=1 latest_log_entry=latest_log_entry history_url=history_url %}
<div class="nice-padding">
<p class="back">
<a href="{{ view.index_url }}">
{% icon name="arrow-left" classname="default" %}
{% blocktrans trimmed with view.verbose_name as model_name %}Back to {{ model_name }} list{% endblocktrans %}
</a>
</p>
</div>
{% endblock %}

0 comments on commit aee3743

Please sign in to comment.