{% extends 'core/base.html' %} {% load widget_tweaks %} {% block content %}
{% csrf_token %}
STAFF DETAILS
{% for field in form %}
{{ field | add_class:"form-control"}} {% if field.help_text %} {{ field.help_text|safe }} {% endif %}
{% endfor %}
{{ items.management_form }}
SALARY DETAILS
DETAILS
{% for form in items %}
{% include 'core/form_snipet.html' %}
{% endfor %}
{% if object %} {% else %} {% endif %}
{% endblock %} {% block custom_js %} {% endblock custom_js %}