Source

article / article / templates / contact.html

Diff from to

File article/templates/contact.html

 {% extends "theme_base.html" %}
+{% load staticfiles %}
+{% load crispy_forms_tags %}
 
 {% block extra_head %}
 <script type="text/javascript">
                         {% if success %}
                             <span class="btn btn-success"><i class="icon-ok icon-white"></i> Your message has been sent!</span>
                         {% else %}
-                            <script src="{{ STATIC_URL }}js/angular.min.js"></script>
-                            <script src="{{ STATIC_URL }}js/angular-resource.min.js"></script>
-                            <script src="{{ STATIC_URL }}js/faq.js"></script>
+                            <script src="{% static "js/angular.min.js" %}"></script>
+                            <script src="{% static "js/angular-resource.min.js" %}"></script>
+                            <script src="{% static "js/faq.js" %}"></script>
                         {% endif %}
                         <h2 class="title">Do you have a Question?</h2>
                         <h3 class="subtitle">With any luck, we already have an answer for you.</h3>
                             </div>
                         </div>
 
-                        {% load crispy_forms_tags %}
                         <div ng-show="checked">
                             {% crispy form %}
                         </div>