Development
This commit is contained in:
parent
1de68e6e3f
commit
aaeb7f2120
1 changed files with 5 additions and 5 deletions
|
|
@ -1244,10 +1244,10 @@ def _render_item(item, tokens, inherited_req=None):
|
|||
field_inner = inp
|
||||
|
||||
form_rows += (
|
||||
f'<div class="record-editor-field-row">'
|
||||
f'<span class="record-editor-field-label">{f_label}:</span>'
|
||||
f'{field_inner}'
|
||||
f'</div>'
|
||||
f'<tr>'
|
||||
f'<td class="record-editor-field-label">{f_label}:</td>'
|
||||
f'<td>{field_inner}</td>'
|
||||
f'</tr>'
|
||||
)
|
||||
|
||||
return (
|
||||
|
|
@ -1265,7 +1265,7 @@ def _render_item(item, tokens, inherited_req=None):
|
|||
f'</table>'
|
||||
f'</div>'
|
||||
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'<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>'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue