{% set page_title = playlist_name + ' - Local playlist' %} {% extends "base.html" %} {% import "common_elements.html" as common_elements %} {% block style %} <link href="/youtube.com/static/message_box.css" rel="stylesheet"/> <link href="/youtube.com/static/local_playlist.css" rel="stylesheet"/> {% endblock style %} {% block main %} <div class="playlist-metadata"> <h2 class="play-title">{{ playlist_name }}</h2> <input type="hidden" name="playlist_page" value="{{ playlist_name }}" form="playlist-edit"> <button class="play-action" type="submit" id="playlist-remove-button" name="action" value="remove" form="playlist-edit" formaction="">Remove from playlist</button> </div> <div id="results" class="video-container"> {% for video_info in videos %} {{ common_elements.item(video_info) }} {% endfor %} </div> <footer class="pagination-container"> <nav class="pagination-list"> {{ common_elements.page_buttons(num_pages, '/https://www.youtube.com/playlists/' + playlist_name, parameters_dictionary) }} </nav> </footer> {% endblock main %}