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