I am using django comments app and am using bootstrap template for UI. 

In bootstrap I have; 

    <div class="form-group col-lg-4 col-md-4 col-sm-4 col-xs-12">
     <label class="sr-only" for="inputName">Name</label>
     <input class="form-control" id="inputName" name="author" type="text" 
value="" aria-required="true" placeholder="Your Name">
    </div>


and other div classes to fill in mame , email, url and comments.


Django comments app's 

    {% get_comment_form for post as form %}


allows manually render fields like;

    {{form.user_name}}
    {{form.user_email}}
    etc.


Question: How do I integrate `{{form.user_name}}` and other fields in the 
div class?

Thanks for your help.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1867ba77-038f-4edf-be4a-8b59a20c265a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to