content rating updated

This commit is contained in:
Devdatt Bhatt 2026-05-20 14:45:53 +00:00
parent 7122ad7455
commit bf5b07ac12
1 changed files with 21 additions and 19 deletions

View File

@ -236,9 +236,10 @@ include 'header.php';
<input type="text" name="content_type" value="<?php echo htmlspecialchars(getValue($saved_data, 'content_type')); ?>" required> <input type="text" name="content_type" value="<?php echo htmlspecialchars(getValue($saved_data, 'content_type')); ?>" required>
<label>Content Type</label> <label>Content Type</label>
</div> </div>
<div class="input-group"> <div class="dropdown-container">
<select name="content_rating" style="background: transparent; color: white; border: 1px solid #444; padding: 10px; border-radius: 4px; width: 100%; appearance: none; outline: none;" required> <span class="dropdown-label">Content Rating</span>
<option value="" disabled <?php echo empty(getValue($saved_data, 'content_rating')) ? 'selected' : ''; ?>>Select Rating</option> <div class="dropdown">
<select name="content_rating" id="content_rating">
<?php <?php
$ratings = [ $ratings = [
'U' => 'Universal', 'U' => 'Universal',
@ -252,6 +253,7 @@ include 'header.php';
} }
?> ?>
</select> </select>
</div>
<label style="margin-top: 5px; display: block;">Content Rating</label> <label style="margin-top: 5px; display: block;">Content Rating</label>
</div> </div>
<div class="input-group"> <div class="input-group">