{% extends 'manage/news/master.twig' %} {% from 'macros.twig' import container_title %} {% from '_layout/input.twig' import input_hidden, input_csrf, input_text, input_checkbox %} {% block manage_content %}
{{ container_title(category_new ? 'New Category' : 'Editing ' ~ category_info.name) }} {{ input_csrf() }}
Name {{ input_text('nc_name', '', category_info.name|default(), 'text', '', true) }}
Description
Is Hidden {{ input_checkbox('nc_hidden', '', category_info.hidden|default(false)) }}
{% if not category_new %} Delete {% endif %}
{% endblock %}