Development

This commit is contained in:
Matthew Grotke 2026-05-27 23:59:30 -04:00
parent 15b7b7aff6
commit 04c039e012

View file

@ -1256,7 +1256,6 @@ def _render_item(item, tokens, inherited_req=None):
return ( return (
f'<div class="form-group record-editor" data-name="{name}" data-empty-message="{empty}">' f'<div class="form-group record-editor" data-name="{name}" data-empty-message="{empty}">'
f'<div class="record-editor-body">' f'<div class="record-editor-body">'
f'<label class="form-label record-editor-label">{label}</label>'
f'<div class="record-editor-table-wrap">' f'<div class="record-editor-table-wrap">'
f'<table class="data-table record-editor-table">' f'<table class="data-table record-editor-table">'
f'<thead><tr>{ths}</tr></thead>' f'<thead><tr>{ths}</tr></thead>'
@ -1268,6 +1267,7 @@ def _render_item(item, tokens, inherited_req=None):
f'</table>' f'</table>'
f'</div>' f'</div>'
f'<div class="record-editor-form">' f'<div class="record-editor-form">'
f'<label class="form-label record-editor-label">{label}</label>'
f'<div class="{grid_class}">{form_rows}</div>' f'<div class="{grid_class}">{form_rows}</div>'
f'<div style="margin-top:0.5rem">' f'<div style="margin-top:0.5rem">'
f'<button type="button" class="btn btn-secondary btn-sm record-editor-add-btn">Add</button>' f'<button type="button" class="btn btn-secondary btn-sm record-editor-add-btn">Add</button>'