-
- <p>
- [% 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 %]
- <a href="[% SELF.url_for(action='list', 'filter.type'=SELF.price_rule.type) %]">[%- LxERP.t8('Abort') %]</a>
- </p>