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:
parent
580f817dd9
commit
efdbc3c5b5
2 changed files with 6 additions and 4 deletions
tailbone/templates/forms2
|
@ -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 -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue