mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Pass arguments to form parts as it is mean to
This commit is contained in:
parent
288e4bb6ca
commit
7ebeb44b22
@ -140,7 +140,7 @@ class FormPlugin():
|
||||
"""If the user has tried to fill in the form, process it, otherwise, just display a default form."""
|
||||
if kwargs:
|
||||
kwargs['message'] = self.process_form(**kwargs)
|
||||
parts = get_parts(self)
|
||||
parts = get_parts(self, **kwargs)
|
||||
return self.fill_template(**parts)
|
||||
|
||||
def process_form(self, **kwargs):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user