-
Notifications
You must be signed in to change notification settings - Fork 122
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
pyjade.runtime.attrs(attrs=[('class', ((title=='About'?'active':undefined)))], terse=True) #246
Comments
I am also stucked. I dont know why size failing but input(name="title" type="text" size=82)
input(name="title" type="text" class="foobar")
input(name="title" type="text" value="foobar") Pyjade compiles my jade files to Tornado templates to non-compatible html files. I want simply this <form action="{{ request.path }}" method="post" class="compose">
<input name="title" type="text" size=82 class="title" value="{{ escape(entry.title) if entry else "" }}"/> But pyjade compiles to this <form{% raw __pyjade_attrs(attrs=[('action',(request.path))]) %} method="POST">
<input name="title"{% raw __pyjade_attrs(attrs=[('type',("text" size=82 class="title" value={{ escape(entry.title) }}))]) %}/>
</form> |
I'm having a similar issue with pyjade.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is failing is there another way to do this?
The text was updated successfully, but these errors were encountered: