<form action="" method="POST" class="standard_form"> {% if form.non_field_errors %} <p class="alert-block alert-danger"> {% for error in form.non_field_errors %} {{ error }}{% if not forloop.last %}<br />{% endif %} {% endfor %} </p> {% endif %} {% include "app/bootstrap_form.html" with form=form %} <div class="form-actions"> <button type="submit" class="btn btn-primary btn-large">Update Settings</button> </div> </form>
<form id="form_id" class="class-form" action="" method="POST"> {% csrf_token %} <fieldset> {% include 'app/bootstrap_field.html' with field=form.name %} </fieldset> <div class="form-actions"> <input type="submit" class="btn btn-primary" value="Submit" /> </div> </form>