CRUD Albums + Spotify API requests into DB.
All checks were successful
CI - Build Tonehaus Docker image / tonehaus-ci-build (push) Successful in 2m17s

This commit is contained in:
2025-11-20 19:53:45 +00:00
parent cd13f1478a
commit cd04fa5212
26 changed files with 6180 additions and 66 deletions

View File

@@ -2,21 +2,7 @@
{% block title %}New Review{% endblock %}
{% block body %}
<h1 class="h4 mb-3">Write a review</h1>
<div class="row g-2 mb-3">
<div class="col-md-6">
<label class="form-label">Spotify Album ID</label>
<input class="form-control" type="text" name="spotifyAlbumId" value="{{ review.spotifyAlbumId }}" placeholder="e.g. 4m2880jivSbbyEGAKfITCa" />
</div>
<div class="col-md-6">
<label class="form-label">Artist</label>
<input class="form-control" type="text" name="albumArtist" value="{{ review.albumArtist }}" />
</div>
</div>
<div class="mb-3">
<label class="form-label">Album Title</label>
<input class="form-control" type="text" name="albumName" value="{{ review.albumName }}" />
</div>
<div class="alert alert-info">Pick an album first, then write your review on its page.</div>
{{ form_start(form, {attr: {class: 'vstack gap-3', novalidate: 'novalidate'}}) }}
<div>{{ form_label(form.title) }}{{ form_widget(form.title, {attr: {class: 'form-control'}}) }}{{ form_errors(form.title) }}</div>