Template source: locations/change_location_template.html

{% load loc_tags %} <div class="modal fade" id="changelocation" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <form class="form-horizontal" role="form" action="{% url 'set_location' %}" method="post" id = "loc_form"> {% csrf_token %} <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <h4 class="modal-title" id="myModalLabel">Change Location</h4> </div> <div class="modal-body"> <div class="form-group"> <label for="clocation" class="col-sm-4 control-label">Change Location</label> <div class="col-sm-8" id = "loc_form_field"> {{ "dummy" | changelocform }} </div> </div> <div class="form-group"> <label for="cdefault" for="location" class="col-sm-4"> </label> <div class="col-sm-8 col-lg-8"> <input type="checkbox" name="set_as_default"> Set as Default </div> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary">Update Location</button> </div> </div> </form> </div> </div> </div>