| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/erp/base/templates/multi_approval_condition/ |
Upload File : |
{% load i18n %} {% if field_html %}
<div
class="oh-input__group pt-3"
id="{{ currnet_hx_target }}"
style="display: flex"
>
{{field_html}}
<a
hx-get="{% url 'remove-approval-manager' %}"
class="oh-btn oh-btn--danger-outline oh-btn--light-bkg"
hx-target="#{{ currnet_hx_target }}"
hx-swap="outerHTML"
id="delete-link"
>
<ion-icon name="trash-outline"></ion-icon>
</a>
</div>
<div id="{{ next_hx_target }}" style="text-align: end">
<a
hx-target="#{{ next_hx_target }}"
hx-swap="outerHTML"
hx-get="{% url 'add-more-approval-managers' %}?managers_count={{ managers_count }}"
role="button"
style="color: green"
>{% trans "Add more managers.." %}</a
>
</div>
{% else %}
<div
class="oh-input__group pt-3"
id="{{ currnet_hx_target }}"
style="display: flex"
>
{{ form.multi_approval_manager }} {{ form.multi_approval_manager.errors }}
<a
hx-get="{% url 'remove-approval-manager' %}"
class="oh-btn oh-btn--danger-outline oh-btn--light-bkg"
hx-target="#{{ currnet_hx_target }}"
hx-swap="outerHTML"
id="delete-link"
>
<ion-icon name="trash-outline"></ion-icon>
</a>
</div>
<div id="{{ next_hx_target }}" style="text-align: end">
<a
hx-target="#{{ next_hx_target }}"
hx-swap="outerHTML"
hx-get="{% url 'add-more-approval-managers' %}"
role="button"
style="color: green"
>{% trans "Add more managers.." %}</a
>
</div>
{% endif %}