{% extends 'babybuddy/page.html' %}
{% load static %}

{% block title %}{% endblock %}

{% block breadcrumbs %}
    <li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
    <li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
    <li class="breadcrumb-item">Reports</li>
{% endblock %}

{% block content %}
    <div class="container-fluid">
        {{ html|safe }}
    </div>
{% endblock %}

{% block javascript %}
    {% if debug %}
        <script src="{% static "babybuddy/js/graph.js" %}"></script>
    {% else %}
        <script src="{% static "babybuddy/js/graph.min.js" %}"></script>
    {% endif %}
{% endblock %}
{% extends 'babybuddy/page.html' %}
{% load static %}

{% block title %}{% endblock %}

{% block breadcrumbs %}
    <li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
    <li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
    <li class="breadcrumb-item">Reports</li>
{% endblock %}

{% block content %}
    <div class="container-fluid">
        {{ html|safe }}
    </div>
{% endblock %}

{% block javascript %}
    <script src="{% static "babybuddy/js/graph.js" %}"></script>
{% endblock %}
Fix graph JS link for new whitenoise setup.
Fix graph JS link for new whitenoise setup.
