﻿file = r'resources\views\test-sessions\fill.blade.php'
with open(file, 'r', encoding='utf-8') as f:
    c = f.read()

# Sementara disable onsubmit untuk debug
old = 'onsubmit="return validateForm()"'
new = 'onsubmit="return true"'

if old in c:
    c = c.replace(old, new)
    print("OK - validateForm disabled sementara")
else:
    print("GAGAL")

with open(file, 'w', encoding='utf-8') as f:
    f.write(c)
