Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

How can I add a get request eg. "next" as a helper? #96

Closed
rjmoggach opened this issue Sep 14, 2011 · 2 comments
Closed

How can I add a get request eg. "next" as a helper? #96

rjmoggach opened this issue Sep 14, 2011 · 2 comments

Comments

@rjmoggach
Copy link

Can't seem to figure this out in my form definition…

hidden = Hidden('next', )
helper.add_input(hidden)

@bmihelac
Copy link
Contributor

Hidden helper does not pass context, but you can use HTML helper:

HTML('')

as documented in:
http://django-uni-form.readthedocs.org/en/latest/api_helpers.html#helpers.HTML

@maraujop
Copy link
Collaborator

As bmihelac said, Inputs in django-uni-form don't have context, so you have to use raw html wrapped in a HTML layout object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants