{% extends 'rates/base.html' %} {% load custom_tags_and_filters %} {% block title %}Rate{% endblock %} {% block content %}

{% if rate_id %}Edit{% else %}Create{% endif %} rate

{% if form.errors %}
Oops! Something went wrong. Please correct the errors highlighted below.
{{ form.non_field_errors }}
{% endif %} {% if not rate_id %}

Use this form to set rates for tools, areas, supplies and staff charges.

{% endif %}

The rates for tool usage & training, area access and staff charges are to be expressed per hour.

{% csrf_token %}
{% if form.type.errors %}
{{ form.type.errors|striptags }}
{% endif %}
{% if tools %}
{% elif areas %}
{% elif consumables %}
{% endif %} {% for rate_type in rate_types %} {% include "rates/rate_form_details.html" with rate_type=rate_type %} {% endfor %} {% if rate_type_choice %}
{% endif %}
{% endblock %}