--- /dev/null
+[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%]
+
+[% SET style="width: 400px" %]
+[% SET size=15 %]
+
+<h1>[% HTML.escape(title) %]</h1>
+
+[%- INCLUDE "common/flash.html" %]
+
+<form action="controller.pl" method="post" id="form">
+
+ [%- L.hidden_tag("type", SELF.type) %]
+ [%- L.hidden_tag("id", SELF.object.id) %]
+
+ [%- SET sub_file = "simple_system_setting/_" _ sub_form_template _ "_form.html";
+ INCLUDE $sub_file %]
+
+ <p>
+ [% L.hidden_tag("action", "SimpleSystemSetting/dispatch") %]
+ [% L.submit_tag("action_" _ (SELF.object.id ? "update" : "create"), LxERP.t8("Save"), onclick="return kivi.validate_form('#form');") %]
+ [%- IF SELF.object.id && (!SELF.object.can("orphaned") || SELF.object.orphaned) -%]
+ [% L.submit_tag("action_delete", LxERP.t8("Delete"), confirm=LxERP.t8("Do you really want to delete this object?")) %]
+ [%- END %]
+ <a href="[% SELF.list_url %]">[%- LxERP.t8("Cancel") %]</a>
+ </p>
+</form>