{% extends 'layui/edit.html' %} {% load i18n static common %} {% block edit_form %}
{% csrf_token %}
{% with adminform.form as f %}
{% layui_inline f.start_date %} {% layui_inline f.end_date %}
{% layui_inline f.workflow_code %} {% layui_inline f.workflow_name %}
{% layui_inline f.content_type %}
{# {% if f.instance.id %}#} {# {% for item in f.instance.employee.all %}#} {# {% empty %} //when edit an engine whitout position and dept, there will be no class of field-applicant_position#} {# {% layui_inline f.applicant_position %}#} {# {% layui_inline f.departments %}#} {# {% endfor %}#} {# {% else %}#} {% layui_inline f.applicant_position %} {# {% endif %}#}
{% layui_inline f.departments %}
{{ f.workflow_node }}
{% endwith %}

*Note:

{% trans 'only_one_option_among_requester_department_and_position_can_be_selected' %}

{% endblock %}