mardi 17 janvier 2017

Django Booleanfiedl Checkbox and Label displays in two lines

I have a registration form with Django 1.8. I am asking the user to select checkbox "I have read and agree to the Terms of Use". The issue is on the form the label and boolenfield checkbox are on two lines. For example "Terms&Conditions" 1st line, Checkbox and helptip - 2nd Line. Is there any way to have all in one line like:

Terms&Condition [BooleanField]checkbox

forms.py

..... iAgree = forms.BooleanField(label=_("Terms&Conditions"))

addm.html

...

    <p>          
         
         
          <a title="Please accept that you have read the Terms of Use" href="#" class="helpIcon tooltip"><span title="help"></span></a> </label>
    </p>




Aucun commentaire:

Enregistrer un commentaire