{% import "Juice/macros/forms.html" as forms with context %} {% import "Juice/macros/widget.html" as widget with context %} {% include "Juice/Plugin/Publisher/Admin/_include.html" %}
New Type

{% call widget.panel("Tags", type="table") %} {% for type in types %} {% endfor %}
Name Slug Posts
{{ type.name }} {{ type.slug }} {{ type.total_posts }}
{% endcall %}
{% call widget.modal('Edit Type', id="modal-cat-type") %} {% call forms.post('PublisherAdmin:types') %} {{ forms.hidden(name="id", value="") }} {{ forms.hidden(name="action", value="") }} {{ forms.input(label="Name", name="name", value="", data={"validation": "required"}) }} {{ forms.input(label="Slug", name="slug", value="") }} {% endcall %} {% endcall %}