Thursday, July 1, 2010

Re: Newby Question: template system doesn't render form html

You dont seem to be closing your input tags, add > to the end of them

On Jul 1, 4:47 am, Gene <kaching1...@gmail.com> wrote:
> When I put a form into my template it comes back blank. Does anyone
> know why?
>
> what is in my template
>
> <form action="/in/" method="post">
>
>     <input type="text" name="username" id="Username" value="Username" /
>
>     <input type="text" name="password" id="Password" value="Password" /
>
> <input type="submit" value="Vote" />
> </form>
>
> what I get in my browser
>
> <Text Node: '<form action="/in/" metho'>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment