Refactor purchasing batch views to use master3
This commit is contained in:
parent
d20601c359
commit
eac59ba5c8
6 changed files with 233 additions and 154 deletions
|
@ -54,18 +54,9 @@
|
|||
</ul>
|
||||
|
||||
<div class="form-wrapper">
|
||||
## TODO: clean this up or fix etc..?
|
||||
## % if master.edit_with_rows:
|
||||
## ${form.render(buttons=capture(buttons))|n}
|
||||
## % else:
|
||||
${form.render()|n}
|
||||
## % endif
|
||||
${form.render()|n}
|
||||
</div>
|
||||
|
||||
% if master.edit_with_rows:
|
||||
${rows_grid.render_complete(allow_save_defaults=False, tools=capture(self.grid_tools))|n}
|
||||
% endif
|
||||
|
||||
<div id="execution-options-dialog" style="display: none;">
|
||||
|
||||
${h.form(url('{}.execute'.format(route_prefix), uuid=batch.uuid), name='batch-execution')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue