{% extends '@ui/dashboards/default.html.twig' %}
{% block header %}
{% embed '@ui/common/headers/new.html.twig' with {
title: 'Drafts'
} %}{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
{% endblock %}
{% block content %}
{% embed '@ui/common/actionbar/default.html.twig' with {
search: search
} %}
{% block searchbox %}
{% include '@ui/common/actionbar/searchbox.html.twig' with {
term: search.filter('title')
} %}
{% endblock %}
{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
{% include '@CmsCore/includes/Search/empty.html.twig' with {
results: drafts|length
} %}
{% include '@ui/common/lazyloadSearch.html.twig' with {
link: path(routes.my_drafts_lazy),
search: search
} %}
{% endblock %}