This commit is contained in:
Константин Лебединский
2026-04-30 14:20:45 +05:00
parent db9851eeda
commit e6b85f3944
+3 -4
View File
@@ -25,7 +25,7 @@
</a>
</div>
<div class="list-row__side">
<button type="button" class="btn btn-ghost btn-start-pass" data-test-id="{{ t.id }}">Пройти</button>
<button type="button" class="btn btn-ghost btn-start-pass" data-test-id="{{ t.id }}">Продолжить</button>
</div>
</li>
{% endfor %}
@@ -49,7 +49,7 @@
</a>
</div>
<div class="list-row__side">
<button type="button" class="btn btn-ghost btn-start-pass" data-test-id="{{ t.id }}">Пройти</button>
<button type="button" class="btn btn-ghost btn-start-pass" data-test-id="{{ t.id }}">Продолжить</button>
</div>
</li>
{% endfor %}
@@ -199,8 +199,7 @@
const testId = btn.dataset.testId;
if (!testId) return;
btn.disabled = true;
const oldText = btn.textContent;
btn.textContent = '…';
btn.textContent = 'Продолжить…';
try {
const r = await fetch(`/api/tests/${testId}/attempts/start`, {
method: 'POST',