053d8c Move the if outside the <script> block and use url_for() to build the url

Authored and Committed by Pierre-Yves Chibon 8 years ago
    Move the if outside the <script> block and use url_for() to build the url</script>