Skip to content

Instantly share code, notes, and snippets.

@erfannoury
Created January 25, 2015 01:26
Show Gist options
  • Save erfannoury/105226f46cae8a150419 to your computer and use it in GitHub Desktop.
Save erfannoury/105226f46cae8a150419 to your computer and use it in GitHub Desktop.
{% 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