next step only in not edit mode

This commit is contained in:
aminhashemi92 2025-10-07 08:33:21 +03:30
parent 68cf7761d7
commit 9daec9c8f1

View file

@ -516,7 +516,7 @@
{% if user_is_installer %}
<button type="submit" class="btn btn-success" form="installation-report-form">ثبت گزارش</button>
{% endif %}
{% if next_step %}
{% if next_step and not edit_mode %}
<a href="{% url 'processes:step_detail' instance.id next_step.id %}" class="btn btn-primary">
بعدی
<i class="bx bx-chevron-left bx-sm me-sm-n2"></i>