fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplify piston authorize form
[wolnelektury.git]
/
src
/
ajaxable
/
utils.py
diff --git
a/src/ajaxable/utils.py
b/src/ajaxable/utils.py
index
c2c3688
..
9fd0091
100755
(executable)
--- a/
src/ajaxable/utils.py
+++ b/
src/ajaxable/utils.py
@@
-63,6
+63,7
@@
class AjaxableFormView(object):
# override to customize form look
template = "ajaxable/form.html"
submit = _('Send')
# override to customize form look
template = "ajaxable/form.html"
submit = _('Send')
+ action = ''
title = ''
success_message = ''
title = ''
success_message = ''
@@
-140,6
+141,7
@@
class AjaxableFormView(object):
"honeypot": self.honeypot,
"placeholdize": self.placeholdize,
"submit": self.submit,
"honeypot": self.honeypot,
"placeholdize": self.placeholdize,
"submit": self.submit,
+ "action": self.action,
"response_data": response_data,
"ajax_template": self.template,
"view_args": args,
"response_data": response_data,
"ajax_template": self.template,
"view_args": args,