Compare commits
2 Commits
a075811173
...
improve-do
| Author | SHA1 | Date | |
|---|---|---|---|
| aca9a2f307 | |||
| 081ea4de1c |
@@ -102,7 +102,8 @@ class VorgabeInline(SortableInlineAdminMixin, NestedStackedInline):
|
|||||||
form = VorgabeForm
|
form = VorgabeForm
|
||||||
extra = 0
|
extra = 0
|
||||||
sortable_field_name = "order"
|
sortable_field_name = "order"
|
||||||
show_change_link = True
|
show_change_link = False
|
||||||
|
can_delete = False
|
||||||
inlines = [VorgabeKurztextInline, VorgabeLangtextInline, ChecklistenfragenInline]
|
inlines = [VorgabeKurztextInline, VorgabeLangtextInline, ChecklistenfragenInline]
|
||||||
autocomplete_fields = ['stichworte','referenzen','relevanz']
|
autocomplete_fields = ['stichworte','referenzen','relevanz']
|
||||||
# Remove collapse class so Vorgaben show by default
|
# Remove collapse class so Vorgaben show by default
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
background-color: #f9f9f9;
|
|
||||||
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,4 +37,4 @@ tbody.djn-dynamic-form-dokumente-vorgabe td.original p {
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
border-left: 2px dashed #ccc;
|
border-left: 2px dashed #ccc;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user