Refactor profile-edit, candidate-profile, proposed-candidates, and registration forms

- Added a new div container in profile-edit.php for better layout structure.
- Removed the back button from candidate-profile.php to streamline navigation.
- Updated proposed-candidates.php to open candidate links in a new tab for improved user experience.
- Modified registration forms to make the profile visibility checkbox optional, enhancing user flexibility.
This commit is contained in:
2025-06-12 00:35:15 +02:00
parent 6b7ad2a297
commit 43d74c60d5
10 changed files with 35 additions and 28 deletions

View File

@@ -29,7 +29,7 @@
<div class="row">
<div class="col-12 col-sm-8">
<h2>
<a href="/proponowany-kandydat/<?= $candidate['id'];?>/<?= \S::seo( $candidate['surname'] . ' ' . $candidate['name'], true );?>/" title="Kandydat: <?= addslashes( $candidate['surname'] . ' ' . $candidate['name'] );?>"><?= $candidate['surname'] . ' ' . $candidate['name'];?></a>
<a href="/proponowany-kandydat/<?= $candidate['id'];?>/<?= \S::seo( $candidate['surname'] . ' ' . $candidate['name'], true );?>/" title="Kandydat: <?= addslashes( $candidate['surname'] . ' ' . $candidate['name'] );?>" target="_blank"><?= $candidate['surname'] . ' ' . $candidate['name'];?></a>
</h2>
</div>
<div class="col-12 col-sm-4 sex-and-birth">