{# Playlist selection #}
{% set attributes = [
{ name: "data-placeholder--id", value: null },
{ name: "data-placeholder--value", value: "" },
{ name: "data-search-url", value: urlFor("playlistdashboard.search") },
{ name: "data-search-term", value: "name" },
{ name: "data-id-property", value: "playlistId" },
{ name: "data-text-property", value: "name" }
] %}
{% set title %}{% trans "Playlist" %}{% endset %}
{% set helpText %}{% trans "Please select a Playlist to manage" %}{% endset %}
{{ forms.dropdown("playlistId", "single", title, "", [playlist], "playlistId", "name", helpText, "playlist-control pagedSelect", "", "", "", attributes) }}