diff --git a/resources/twig/categories/create.twig b/resources/twig/categories/create.twig new file mode 100644 index 0000000000..90ea9c57a5 --- /dev/null +++ b/resources/twig/categories/create.twig @@ -0,0 +1,45 @@ +{% extends "./layout/default.twig" %} +{% block content %} + {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }} + {{ Form.open({'class' : 'form-horizontal','id' : 'store','url' : route('categories.store')}) }} + +
+ +
++ Are you sure that you want to delete category "{{ category.name }}"? +
+ + {% if category.transactionjournals|length > 0 %} ++ Category "{{ category.name }}" still has {{ category.transactionjournals|length }} transactions connected + to it. These will not be removed but will lose their connection to this category. +
+ {% endif %} + ++ + Cancel +
+