{% extends "page/base.twig" %}

    {% block title %}{{ page.get_title() }}{% endblock %}

    {% block content %}
        <div class="toolset-dashboard">
            {% if table %}
                {{ table|raw }}
            {% else %}
                <p>{{ labels.msg_no_custom_post_types }}</p>
            {% endif %}


            {# Add new post type #}
            <p>
                <a class="button-primary types-button" href="{{ admin_url }}admin.php?page=wpcf-edit-type">{{ labels.create_type }}</a>
            </p>
        </div>
    {% endblock %}

