mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 11:42:21 +01:00
31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
{% extends 'marietje/base.html' %}
|
|
{% load static %}
|
|
|
|
{% block title %}Manage{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="row mt-5">
|
|
<div class="col-lg-4 mx-auto">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h3>Edit Song</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<form method="POST" action="/songs/edit/{{ song.id }}/" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
<div class="form-group mb-3">
|
|
<input type="text" id="artist" name="artist" class="form-control input-sm" placeholder="Artist" value="{{ song.artist }}">
|
|
</div>
|
|
<div class="form-group mb-3">
|
|
<input type="text" id="title" name="title" class="form-control input-sm" placeholder="Title" value="{{ song.title }}">
|
|
</div>
|
|
<input type="submit" value="Save" class="btn btn-primary btn-block w-100">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|