Add CAM tagging to movies
Store a CAM flag in the movie model and expose it via the admin add/edit flow, then render a CAM badge on movie posters in the films page.
This commit is contained in:
@@ -653,6 +653,12 @@
|
||||
<label for="category" class="form-label">Catégorie</label>
|
||||
<input type="text" class="form-control" id="category" placeholder="Best Picture, etc." required>
|
||||
</div>
|
||||
<div class="col-12 col-md-4 d-flex align-items-end">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="cam_flag">
|
||||
<label class="form-check-label" for="cam_flag">Tag CAM</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<div class="accordion" id="adminAddMovieAccordion">
|
||||
@@ -1314,6 +1320,12 @@
|
||||
<label for="edit_rating" class="form-label">Rating (imdbRating)</label>
|
||||
<input type="text" class="form-control" id="edit_rating" placeholder="7.9">
|
||||
</div>
|
||||
<div class="col-md-6 d-flex align-items-end">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="edit_cam_flag">
|
||||
<label class="form-check-label" for="edit_cam_flag">Tag CAM</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<div class="form-check">
|
||||
|
||||
Reference in New Issue
Block a user