view gpp/templates/weblinks/base.html @ 150:b43e1288ff80

Fix #33; use $.ajax instead of $.post so we can handle errors. Also, for some reason comparing objects in a template doesn't work now. Have to compare id fields.
author Brian Neal <bgneal@gmail.com>
date Thu, 17 Dec 2009 04:14:16 +0000
parents 884839ddbfde
children 952e05cb3d80
line wrap: on
line source
{% extends 'base.html' %}
{% load weblinks_tags %}
{% block custom_css %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/weblinks.css" />
{% block weblinks_css %}{% endblock %}
{% endblock %}
{% block content %}
<h2>Web Links</h2>
{% weblinks_navigation %}
<div class="weblinks-content">
   {% block weblinks_content %}
   {% endblock %}
</div>
{% endblock %}