{% buttons %}
                <button type="submit" class="btn btn-primary">
                    {% trans 'Submit' %}
                </button>
            {% endbuttons %}
        </form>
      </div>
    </div>
  {% endif %}
  </div>
</div>
{% endblock %}

{% block extrafooterscript %}
 <script>
   //If javascript is off all pannels show.
   //We use this to collapse pannels 2 and 3 if javascript is on.
  $("#collapseTwo").attr('class', 'panel-collapse collapse');
  $("#collapseThree").attr('class', 'pane