Massive overhaul of "generate project" feature

previous incarnation was woefully lacking.  new feature is much more
extensible.  still need to remove old POS integration specifics in
some places.

and a couple of unrelated things that snuck in..

- deprecate `rattail.util.OrderedDict`
- deprecate `rattail.util.import_module_path()`
- deprecate `rattail.util.import_reload()`
This commit is contained in:
Lance Edgar 2023-05-05 00:18:16 -05:00
parent 026d98551c
commit 2ed63b1c1a
22 changed files with 424 additions and 700 deletions

View file

@ -11,10 +11,23 @@
<section>
% if form_body is not Undefined and form_body:
${form_body|n}
% elif form.grouping:
% for group in form.grouping:
<nav class="panel">
<p class="panel-heading">${group}</p>
<div class="panel-block">
<div>
% for field in form.grouping[group]:
${form.render_buefy_field(field)}
% endfor
</div>
</div>
</nav>
% endfor
% else:
% for field in form.fields:
${form.render_buefy_field(field)}
% endfor
% for field in form.fields:
${form.render_buefy_field(field)}
% endfor
% endif
</section>