{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% load leaflet_tags %}

{% block meta %}
{% leaflet_js %}
{% leaflet_css %}
{% endblock %}

{% block scripts %}
{% include "monitorjobs.html" %}
{% endblock %}

{% block title %}{{ course.name }} {% endblock %}
{% block og_title %}{{ course.name }} {% endblock %}
{% block main %}

<h1>{{ course.name }}</h1>

<ul class="main-content">
  <li class="grid_2">
    <form id="course_form" method="post">
      <table>
        {{ form.as_table }}
      </table>
      {% csrf_token %}
      <input class="button green" type="submit" value="Submit">
    </form>
  </li>
  <li class="grid_2">
    <div class="mapdiv">
      {{ mapdiv|safe }}

    
      {{ mapscript|safe }}
    </div>
  </li>
  
</ul>

{% endblock %}

{% block sidebar %}
{% include 'menu_racing.html' %}
{% endblock %}
