Only display local playlist controls in header on pages with videos

This commit is contained in:
James Taylor 2019-09-15 14:59:19 -07:00
parent 57c37a57e9
commit 33a8898656

View File

@ -93,6 +93,7 @@
</div>
</form>
{% if header_playlist_names is defined %}
<form id="playlist-edit" action="/youtube.com/edit_playlist" method="post" target="_self">
<input name="playlist_name" id="playlist-name-selection" list="playlist-options" type="text">
<datalist id="playlist-options">
@ -172,6 +173,7 @@
sendData();
});
</script>
{% endif %}
</header>
<main>
{% block main %}