After having a closer look in django, it seems that the RadioFieldRenderer that renders the radio buttons, renders the entire set as a single string, therefore it is not possible to split these fields in the template (using django) - if anyone else is interested!
Thanks anyway. On Jan 27, 2:19 pm, chewynougat <peter_i_campb...@hotmail.co.uk> wrote: > I am using a NullBooleanField called bequeath in a form wizard with a > RadioSelect widget with two choices. I would like to place the two > radio buttons in a customised layout in the template but do not know > how. > > Currently, I can only layout the buttons next to each other by > writing: > > form.bequeath > > This lays out each button with its own name/id etc like - bequeath_0 > and bequeath_1. > > What I need to do is something like form.bequeath_0 over on one side > of the page, and form.bequeath_1 on the other, but cannot find any way > to do this. > > Any suggestions would be great, js is an option but I'd rather it not > be! > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---