Skip to content

Commit 508a40d

Browse files
authored
triv: added helper classes for easier override (#14)
Co-authored-by: Viliam Mihalik <[email protected]>
1 parent ced6035 commit 508a40d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/django_smartbase_admin/templates/sb_admin/actions/change_form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{% get_tabular_context adminform inline_admin_formsets tabs_context as tabular_context %}
3030

3131
{% block header %}
32-
<div class="py-16 md:pb-32 flex items-center max-xs:px-20 w-full max-w-1180 mx-auto">
32+
<div class="detail-view-header py-16 md:pb-32 flex items-center max-xs:px-20 w-full max-w-1180 mx-auto">
3333
{% if not is_popup and has_view_permission %}
3434
{% url opts|admin_urlname:'changelist' as changelist_url %}
3535
<a href="{% add_preserved_filters changelist_url %}" class="btn p-0 w-40 mr-16">
@@ -112,7 +112,7 @@ <h1 class="text-24 md:text-30 text-dark-900 font-bold font-heading line-clamp-1
112112

113113
{% block form %}
114114
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post"
115-
id="{{ opts.model_name }}_form" class="flex-grow flex flex-col w-full max-w-1180 mx-auto" novalidate>
115+
id="{{ opts.model_name }}_form" class="detail-view-form flex-grow flex flex-col w-full max-w-1180 mx-auto" novalidate>
116116
{% csrf_token %}
117117
{% if errors %}
118118
<div class="alert bg-negative-50 border border-negative-100 text-negative-900 mb-24">

0 commit comments

Comments
 (0)