Revision a34bdbf7
Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt
templates/webpages/simple_system_setting/form.html | ||
---|---|---|
14 | 14 |
|
15 | 15 |
[%- SET sub_file = "simple_system_setting/_" _ sub_form_template _ "_form.html"; |
16 | 16 |
INCLUDE $sub_file %] |
17 |
|
|
18 |
<p> |
|
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?")) %] |
|
23 |
[%- END %] |
|
24 |
<a href="[% SELF.list_url %]">[%- LxERP.t8("Cancel") %]</a> |
|
25 |
</p> |
|
26 | 17 |
</form> |
Auch abrufbar als: Unified diff
ActionBar: Verwendung im »SimpleSystemSetting«-Controller