Show "buttons" when viewing an object, with forms2

also tweak logic when creating a batch..we'll see if it works..
This commit is contained in:
Lance Edgar 2018-01-26 19:04:34 -06:00
parent 580f817dd9
commit efdbc3c5b5
2 changed files with 6 additions and 4 deletions
tailbone/templates/forms2

View file

@ -2,7 +2,7 @@
<div class="form">
${form.render_deform(readonly=True)|n}
## % if buttons:
## ${buttons|n}
## % endif
% if buttons:
${buttons|n}
% endif
</div><!-- form -->