independente do crime selecionado deixar informacoes dos autores fixa
Browse files- index.html +5 -6
index.html
CHANGED
|
@@ -206,8 +206,8 @@
|
|
| 206 |
</div>
|
| 207 |
|
| 208 |
<!-- Section 2: Basic Info -->
|
| 209 |
-
<div id="authorsSection" class="space-y-4
|
| 210 |
-
|
| 211 |
<i data-feather="user" class="inline mr-2 w-5 h-5"></i>
|
| 212 |
Informações do(s) Autor(es)
|
| 213 |
</h2>
|
|
@@ -444,9 +444,9 @@
|
|
| 444 |
} else if (this.value === 'theft') {
|
| 445 |
document.getElementById('theftFields').classList.remove('hidden');
|
| 446 |
}
|
| 447 |
-
//
|
| 448 |
document.getElementById('authorsSection').classList.remove('hidden');
|
| 449 |
-
|
| 450 |
});
|
| 451 |
// Add author field
|
| 452 |
function addAuthorField() {
|
|
@@ -726,7 +726,6 @@
|
|
| 726 |
clearInterval(interval);
|
| 727 |
}
|
| 728 |
});
|
| 729 |
-
|
| 730 |
// Show/hide dynamic fields based on crime type
|
| 731 |
document.querySelectorAll('input[name="crimeType"]').forEach(radio => {
|
| 732 |
radio.addEventListener('change', function() {
|
|
@@ -745,7 +744,7 @@
|
|
| 745 |
} else if (this.value === 'theft') {
|
| 746 |
document.getElementById('theftFields').classList.remove('hidden');
|
| 747 |
}
|
| 748 |
-
//
|
| 749 |
document.getElementById('authorsSection').classList.remove('hidden');
|
| 750 |
});
|
| 751 |
});
|
|
|
|
| 206 |
</div>
|
| 207 |
|
| 208 |
<!-- Section 2: Basic Info -->
|
| 209 |
+
<div id="authorsSection" class="space-y-4">
|
| 210 |
+
<h2 class="text-xl font-semibold border-b border-white border-opacity-20 pb-2">
|
| 211 |
<i data-feather="user" class="inline mr-2 w-5 h-5"></i>
|
| 212 |
Informações do(s) Autor(es)
|
| 213 |
</h2>
|
|
|
|
| 444 |
} else if (this.value === 'theft') {
|
| 445 |
document.getElementById('theftFields').classList.remove('hidden');
|
| 446 |
}
|
| 447 |
+
// Authors section always visible
|
| 448 |
document.getElementById('authorsSection').classList.remove('hidden');
|
| 449 |
+
});
|
| 450 |
});
|
| 451 |
// Add author field
|
| 452 |
function addAuthorField() {
|
|
|
|
| 726 |
clearInterval(interval);
|
| 727 |
}
|
| 728 |
});
|
|
|
|
| 729 |
// Show/hide dynamic fields based on crime type
|
| 730 |
document.querySelectorAll('input[name="crimeType"]').forEach(radio => {
|
| 731 |
radio.addEventListener('change', function() {
|
|
|
|
| 744 |
} else if (this.value === 'theft') {
|
| 745 |
document.getElementById('theftFields').classList.remove('hidden');
|
| 746 |
}
|
| 747 |
+
// Authors section always visible
|
| 748 |
document.getElementById('authorsSection').classList.remove('hidden');
|
| 749 |
});
|
| 750 |
});
|