On Wed, Mar 7, 2012 at 4:23 PM, backdoc <backdoc...@gmail.com> wrote:
> I am having trouble changing the way the HTML in my form fields is
> presented.  I've been reading the docs (https://docs.djangoproject.com/
> en/dev/ref/forms/api/#outputting-forms-as-html).  I've done this in
> previous versions.  But, it doesn't seem to work now.
>
> No matter if I use form.as_p or form.as_table, I always get <li>.
>
> I am running:
>     django-admin.py --version
>     1.4c1
>
> This is my form:
>
>     {% block left %}
>       <form action="/search/" method="post">{% csrf_token %}
>         <input type="submit" value="Search" />
>         {{ searchForm.as_p }}
>       </form>
>       <br/>
>     {% endblock %}
>
> TIA
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>

Are you certain that you are using the right template?

-- 
Joel Goldstick

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to