]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_edit_tips.html
no more "bellow"
[osqa.git] / forum / skins / default / templates / question_edit_tips.html
index 3e72a1e6c3d3e4301e6a3a407e0d649b3088e261..3ba5f563945576b8dd1c63aaf6bcce53905a9248 100644 (file)
@@ -1,24 +1,5 @@
 <!-- question_edit_tips.html -->
 {% load i18n %}
-{% block forejs %}
-        <script type="text/javascript">
-            var currentSideBar = 'div#title_side_bar';
-            function changeSideBar(enabled_bar) {
-                $(currentSideBar).hide();
-                currentSideBar = enabled_bar;
-                $(currentSideBar).fadeIn('slow');
-
-            }
-            $(function () {
-                $('div#editor_side_bar').hide();
-                $('div#tags_side_bar').hide();
-
-                $('input#id_title').focus(function(){changeSideBar('div#title_side_bar')});
-                $('textarea#editor').focus(function(){changeSideBar('div#editor_side_bar')});
-                $('input#id_tags').focus(function(){changeSideBar('div#tags_side_bar')});
-            });
-        </script>
-{% endblock %}
 <div class="boxC" id="title_side_bar">
     <p class="subtitle darkred">{% trans "Title Tips" %}</p>
     <div>
@@ -71,7 +52,7 @@
         </li>
     </ul>
     <p class='info-box-follow-up-links'>
-        <a href="/markdown_help" target="_blank">{% trans "learn more about Markdown" %} </a>
+        <a href="{% url markdown_help %}" target="_blank">{% trans "learn more about Markdown" %} </a>
     </p>
 </div>