Thanks for the explanation. I think I get it. Does that, however, explain why the Radio buttons don't display on separate lines? The "teaser" example on GITHUB shows the output cleanly space on separate lines. That's the part I don't quite understand.
On Monday, September 26, 2016 at 6:21:49 AM UTC-4, Jeff Silverman wrote:
-- On Monday, September 26, 2016 at 6:21:49 AM UTC-4, Jeff Silverman wrote:
I created an example application using Crispy-Forms. In forms.py I am usingradio_buttons = forms.ChoiceField(
choices = (('option_one', 'Option one is this and that be sure to include why it is great'),('option_two', 'Option two can is something else and selecting it will deselect option one')),
widget = forms.RadioSelect,
initial = 'option_two',
)However, when I execute, the two options appear on the same line. can anyone tell me what I did wrong?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d22d8604-1c11-4d31-9ddb-76b7ab3edd12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment