diff --git a/src/views/films/index.php b/src/views/films/index.php index 0171cab8f8fcf36689e40c1bd297aa4dd70161b1..cd1ed4454a010edae2548a48d1f6cbf21ec8f788 100644 --- a/src/views/films/index.php +++ b/src/views/films/index.php @@ -20,9 +20,10 @@ include_once Application::$BASE_DIR . '/src/views/components/navbar.php'; <option value="Action">Action</option> <option value="Comedy">Comedy</option> <option value="Drama">Drama</option> + <option value="Sci-Fi">Sci-Fi</option> <option value="Horror">Horror</option> <option value="Fantasy">Fantasy</option> - <option value="Fantasy">Other</option> + <option value="Other">Other</option> </select> <select id="ratingFilter"> <option value="" disabled selected>Rating</option> diff --git a/src/views/profile/index.php b/src/views/profile/index.php index 683829651c4912b874bb4732b45fab0c73f7dfd4..805e6036254bbe1407712057be1ea87fee41932c 100644 --- a/src/views/profile/index.php +++ b/src/views/profile/index.php @@ -42,15 +42,15 @@ $html = <<<EOT <input type="file" id="profile-picture" name="profile_picture" accept="image/*"> </div> <div class="btn-group"> - <button class="btn-primary" id="save-btn">Save Changes</button> - <button class = "btn-danger" id="delete-btn"">Delete Account</button> + <button type="button" class="btn-primary" id="save-btn">Save Changes</button> + <button type="button" class="btn-danger" id="delete-btn"">Delete Account</button> </div> <div class="modal-container" id="confirm-edit-modal"> <div class="confirmation-modal"> <h2>Are you sure you want to edit your profile?</h2> <div class="btn-group"> - <button class="btn-primary" id="confirm-edit-btn">Yes</button> - <button class="btn-danger" onclick="handleClose('#confirm-edit-modal')">Cancel</button> + <button type="button" class="btn-primary" id="confirm-edit-btn">Yes</button> + <button type="button" class="btn-danger" onclick="handleClose('#confirm-edit-modal')">Cancel</button> </div> </div> </div> @@ -58,8 +58,8 @@ $html = <<<EOT <div class="confirmation-modal"> <h2>Are you sure you want to delete your account?</h2> <div class="btn-group"> - <button class="btn-primary" id="confirm-delete-btn">Yes</button> - <button class="btn-danger" onclick="handleClose('#confirm-delete-modal')">Cancel</button> + <button type="button" class="btn-primary" id="confirm-delete-btn">Yes</button> + <button type="button" class="btn-danger" onclick="handleClose('#confirm-delete-modal')">Cancel</button> </div> </div> </div>