Assume forms support Buefy if theme does; fix basic CRUD views
This commit is contained in:
parent
7b1947914e
commit
b829cd260c
9 changed files with 67 additions and 73 deletions
|
@ -1,6 +1,7 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
|
||||
<script type="text/x-template" id="buefy-form-template">
|
||||
<div>
|
||||
% if not form.readonly:
|
||||
${h.form(form.action_url, id=dform.formid, method='post', enctype='multipart/form-data', **form_kwargs)}
|
||||
${h.csrf_token(request)}
|
||||
|
@ -54,6 +55,7 @@
|
|||
% if not form.readonly:
|
||||
${h.end_form()}
|
||||
% endif
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue