Improved image formatting.
This commit is contained in:
parent
4800d60fb6
commit
979a329d6a
1 changed files with 3 additions and 2 deletions
|
|
@ -50,10 +50,11 @@ def init_entry_routes(app):
|
||||||
"attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}},
|
"attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}},
|
||||||
|
|
||||||
{"name": "image", "label": "", "row": "image", "type": "template", "label_spec": "{filename}",
|
{"name": "image", "label": "", "row": "image", "type": "template", "label_spec": "{filename}",
|
||||||
"template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail"}},
|
"template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail h-100"},
|
||||||
|
"wrap": {"class": "h-100"}},
|
||||||
|
|
||||||
{"name": "notes", "type": "textarea", "label": "Notes", "row": "notes", "wrap": {"class": "col"},
|
{"name": "notes", "type": "textarea", "label": "Notes", "row": "notes", "wrap": {"class": "col"},
|
||||||
"attrs": {"class": "form-control", "rows": 10}},
|
"attrs": {"class": "form-control", "rows": 10}, "label_attrs": {"class": "form-label"}},
|
||||||
]
|
]
|
||||||
layout = [
|
layout = [
|
||||||
{"name": "label", "order": 5},
|
{"name": "label", "order": 5},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue