1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00

Check id of the user who created the playlist

This commit is contained in:
Robert Sprunk 2021-02-01 20:21:15 +01:00
parent be88f5fb78
commit d05889df5b

View File

@ -16,7 +16,7 @@
<div class="page-header first-header"> <div class="page-header first-header">
<h2>Playlist "{{ playlist.name }}"</h2> <h2>Playlist "{{ playlist.name }}"</h2>
</div> </div>
{% if playlist.user_id == request.user.id %} {% if playlist.user.id == request.user.id %}
<h3>Edit</h3> <h3>Edit</h3>
<form method="post"> <form method="post">
<table id="playlist" class="table"> <table id="playlist" class="table">