Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / department / form.html
diff --git a/templates/webpages/department/form.html b/templates/webpages/department/form.html
deleted file mode 100644 (file)
index 894e259..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
-[% SET is_used = SELF.department.is_used %]
-<h1>[% FORM.title %]</h1>
-
- <form method="post" action="controller.pl">
-
-[%- INCLUDE 'common/flash.html' %]
-
-  <table>
-   <tr>
-    <td>[%- 'Description' | $T8 %]</td>
-    <td>[% L.input_tag("department.description", SELF.department.description) %]</td>
-   </tr>
-  </table>
-
-  <p>
-   [% L.hidden_tag("id", SELF.department.id) %]
-   [% L.hidden_tag("action", "Department/dispatch") %]
-   [% L.submit_tag("action_" _  (SELF.department.id ? "update" : "create"), LxERP.t8('Save')) %]
-   [%- IF SELF.department.id && !is_used %]
-    [% L.submit_tag("action_destroy", LxERP.t8("Delete"), "confirm", LxERP.t8("Are you sure you want to delete this department?")) %]
-   [%- END %]
-   <a href="[% SELF.url_for(action => 'list') %]">[%- 'Abort' | $T8 %]</a>
-  </p>
- </form>