Development

This commit is contained in:
Matthew Grotke 2026-05-28 00:13:18 -04:00
parent 1de68e6e3f
commit aaeb7f2120

View file

@ -1244,10 +1244,10 @@ def _render_item(item, tokens, inherited_req=None):
field_inner = inp field_inner = inp
form_rows += ( form_rows += (
f'<div class="record-editor-field-row">' f'<tr>'
f'<span class="record-editor-field-label">{f_label}:</span>' f'<td class="record-editor-field-label">{f_label}:</td>'
f'{field_inner}' f'<td>{field_inner}</td>'
f'</div>' f'</tr>'
) )
return ( return (
@ -1265,7 +1265,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'{form_rows}' f'<table class="record-editor-fields-table"><tbody>{form_rows}</tbody></table>'
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>'
f'<button type="button" class="btn btn-ghost btn-sm record-editor-cancel-btn hidden" style="margin-left:0.5rem">Cancel</button>' f'<button type="button" class="btn btn-ghost btn-sm record-editor-cancel-btn hidden" style="margin-left:0.5rem">Cancel</button>'