Replies: 1 comment 7 replies
-
I think you need to use the Roda view helper that ships with Forme. Otherwise Forme doesn't have access your Roda instance, which it would use to generate the CSRF token. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a roda app where I'm trying to add forme with forme_route_csrf token.
In my app.rb I have the following plugins:
Also defined this method for generating the form:
And in my erb template I call it like this:
The resulting html looks like this:
What I'm I missing that I don't get any csrf token in the generated html
Beta Was this translation helpful? Give feedback.
All reactions