Created
January 25, 2015 01:26
-
-
Save erfannoury/105226f46cae8a150419 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% extends "base.html" %} | |
| {% block content %} | |
| <div class="container"> | |
| {% for i in range(5) %} | |
| <h1>{{ query }}<h1> | |
| {% endfor %} | |
| </div> <!-- /container --> | |
| // <script src="{{ url_for('static', filename="jquery/jquery.js") }}"></script> | |
| // <script src="{{ url_for('static', filename="bootstrap/js/bootstrap.min.js") }}"></script> | |
| // <script type="text/javascript"> | |
| // $(document).ready(function() { | |
| // $("#signup").click(function() { | |
| // $.post( "/signup", $("#signupForm").serialize(), | |
| // function(data) { | |
| // $("#signupSuccess").show(); | |
| // } | |
| // ) | |
| // .error(function(xhr) { | |
| // switch(xhr.status) { | |
| // case 409: | |
| // $("#signupDuplicate").show(); | |
| // break; | |
| // default: | |
| // $("#signupError").show(); | |
| // } | |
| // }) | |
| // .always(function() { | |
| // $("#signupModal").modal('hide'); | |
| // }); | |
| // }) | |
| // }) | |
| // </script> | |
| {% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment