[%- USE T8 %] [%- USE L %][%- USE P %] [%- USE HTML %][%- USE LxERP %]
[% L.hidden_tag("action", "PriceRule/dispatch") %] [% L.hidden_tag("callback", FORM.callback) %] [% L.submit_tag("action_" _ (SELF.price_rule.id ? "update" : "create"), LxERP.t8('Save')) %] [%- IF SELF.price_rule.id %] [% L.submit_tag("action_create", LxERP.t8('Save as new')) %] [% L.submit_tag("action_destroy", LxERP.t8('Delete'), confirm=LxERP.t8('Do you really want to delete this object?')) IF !SELF.price_rule.in_use %] [%- END %] [%- LxERP.t8('Abort') %]