Cleanup "diff" table for importer batch row view, per Buefy theme

This commit is contained in:
Lance Edgar 2020-01-14 12:14:47 -06:00
parent 234fd8b2e1
commit bbd462c85a

View file

@ -7,8 +7,7 @@
% endif % endif
</%def> </%def>
${parent.body()} <%def name="field_diff_table()">
% if instance.status_code == enum.IMPORTER_BATCH_ROW_STATUS_CREATE: % if instance.status_code == enum.IMPORTER_BATCH_ROW_STATUS_CREATE:
<table class="diff monospace new"> <table class="diff monospace new">
<thead> <thead>
@ -67,3 +66,22 @@ ${parent.body()}
</tbody> </tbody>
</table> </table>
% endif % endif
</%def>
<%def name="render_buefy_form()">
<div class="form">
<tailbone-form></tailbone-form>
<br />
${self.field_diff_table()}
</div>
</%def>
<%def name="render_form()">
${parent.render_form()}
% if not use_buefy:
${self.field_diff_table()}
% endif
</%def>
${parent.body()}