{% extends "base_view.html" %} {% load widget_tweaks %} {% load bird_tags %} {% block title %} meliza-lab : nest check {% endblock %} {% block content %}

Nest Check


Today's nest check

Instructions: This form is for entering data from the daily nest check. Count the eggs and chicks in each nest, update the values in the last column of the table, then click Submit. Note: if chicks die, you need to add events for the specific animals, then come back and complete the nest check. You may enter more than one nest check per day.

{% csrf_token %} {{ nest_formset.management_form }} {% for date in dates %} {% endfor %} {% for nest, form in nest_data %} {% for day in nest.days %} {% endfor %} {% endfor %}
{{ date|date:"D m/d/Y" }}Nest Check
{{ nest.location.name }} {{ day.animals.adult|url_list }}
{{ day.counts|count_summary }}
{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {{ form.location }}
{% render_field form.eggs class+="form-control" %}
{% render_field form.chicks class+="form-control" %}

Clicking Submit will take you to a new page where you can confirm the eggs and birds that will be added to and/or removed from the database.


Previous nest checks

{% for check in nest_checks %} {% endfor %}
Date User Comments
{{ check.datetime|date:"D m/d/Y" }} {{ check.entered_by }} {{ check.comments }}
{% endblock %}