From bbd462c85a4dde7451d87d830d3b9603e6500a8b Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Jan 2020 12:14:47 -0600 Subject: [PATCH] Cleanup "diff" table for importer batch row view, per Buefy theme --- .../templates/batch/importer/view_row.mako | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/batch/importer/view_row.mako b/tailbone/templates/batch/importer/view_row.mako index 55efb6d1..24eb6456 100644 --- a/tailbone/templates/batch/importer/view_row.mako +++ b/tailbone/templates/batch/importer/view_row.mako @@ -7,8 +7,7 @@ % endif -${parent.body()} - +<%def name="field_diff_table()"> % if instance.status_code == enum.IMPORTER_BATCH_ROW_STATUS_CREATE: @@ -67,3 +66,22 @@ ${parent.body()}
% endif + + +<%def name="render_buefy_form()"> +
+ +
+ ${self.field_diff_table()} +
+ + +<%def name="render_form()"> + ${parent.render_form()} + % if not use_buefy: + ${self.field_diff_table()} + % endif + + + +${parent.body()}