-<form class="cmxform" id="commentForm" action="#" method="post">{% csrf_token %}
-<fieldset>
-{{ form.as_p }}
-<p style="text-align: center;width: 80%;">
- <input class="btn" type="submit" value="Submit" />
-</p>
-</fieldset>
-</form>
+ <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-4 control-label">{{ field.label }}</label>
+ <div class="col-xs-4"> {{ field.errors }} {{ field }} <p class="form-hint">{{ field.help_text }}</p> </div>
+ </div>
+ {% endfor %}
+ <div class="col-xs-offset-4 col-xs-4">
+ <button class="submit btn btn-default" type="submit">Submit</button>
+ </div>
+ </fieldset>
+ </form>