Re: Django Forms: Radio buttons and label displayed in the same line?

2011-10-01 Thread Ilian Iliev
I am glad I could help. -- eng. Ilian Iliev Web Software Developer Mobile: +359 88 66 08 400 Website: http://ilian.i-n-i.org On Sat, Oct 1, 2011 at 2:07 AM, voss wrote: > Hi eng. Ilian Iliev, > > I visited your page ( > http://ilian.i-n-i.org/django-forms-choicefield-and-custom-html-output

Re: Django Forms: Radio buttons and label displayed in the same line?

2011-09-30 Thread voss
Hi eng. Ilian Iliev, I visited your page (http://ilian.i-n-i.org/django-forms-choicefield-and-custom-html-output/) and now my code works! After visiting the page, though, I realized that I'd asked a stupid question. What I ended up doing is that I started a Python interactive interpreter, p

Re: Django Forms: Radio buttons and label displayed in the same line?

2011-09-30 Thread voss
Thanks, eng. Ilian Iliev. I will definitely take a look! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/e3OJD8G-ob4J. To post to this group, send email to

Re: Django Forms: Radio buttons and label displayed in the same line?

2011-09-30 Thread Ilian Iliev
Hi, you can do it with CSS styling, custom widget or custom HTML. Check this link for the custom HTML approach - http://ilian.i-n-i.org/django-forms-choicefield-and-custom-html-output/ This is not the best one but if you need it only for a single place go for it. -- eng. Ilian Iliev Web Software

Django Forms: Radio buttons and label displayed in the same line?

2011-09-30 Thread voss
Hello all, Is it possible to display radio buttons and label in the same line using Django forms? Below is an example: _Choices = ( (1,'A'), (2,'B'), (3,'C'), ) class QuestionForm(forms.Form): question = forms.ChoiceField(label='Please choose one!', cho