-<form class="cmxform form-horizontal" id="commentForm" action="#" method="post" role="form">{% csrf_token %}
-<fieldset>
- {% for field in form %}
- <div class="form-group">
- <label for="{{ field.html_name }}" class="col-md-4 control-label">{{ field.label }}</label>
- <div class="col-md-4">
-<!-- <input type="{{ field.my_html_type }}" name="{{ field.html_name }}"
- class="required form-control" value="{{ field.value }}"
- placeholder="{{ field.label }}" /> -->
- {{ field }} <p class="hint">{{ field.help_text }}</p>
+ <form class="cmxform form-horizontal" id="commentForm" action="#" method="post" role="form">{% csrf_token %}
+ <fieldset>
+ {% for field in form %}
+ <div class="form-group">
+ <label for="{{ field.html_name }}" class="col-xs-3 control-label">{{ field.label }}</label>
+ <div class="col-xs-6"> {{ field.errors }} {{ field }} <p class="form-hint">{{ field.help_text }}</p> </div>