-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem to customize a form #56
Comments
What error? Without details it is hard to answer |
Sure ! (I though the error was trivial in my line...)
`struct login_login_form : public cppcms::form { ` |
Does adding a space between |
No. |
Quick recap to see if I got your problem: The offending template line is:
The generated C++ Code is:
And This means Try changing
to
|
My form is ok with:
<form class="form-signin" method="post" action="" ><% csrf %> <% form as_p mydata %> </form>
But when I try:
<form class="form-signin" method="post" action="" ><% csrf %> <input type="email" name="<%= mydata.email()%>" > ... </form>
I get a compile error.
Is ther an exmple of this case in the documentation ? I have found none. What am I missing ?
Thank you for cppcms.
PC
The text was updated successfully, but these errors were encountered: