Revision e3f3d500
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
templates/webpages/requirement_spec/_form.html | ||
---|---|---|
43 | 43 |
[%- END %] |
44 | 44 |
<a href="[% SELF.url_for(action="list") %]">[% LxERP.t8('Abort') %]</a> |
45 | 45 |
[% ELSE %] |
46 |
[% L.button_tag("submit_ajax_form('controller.pl?action=RequirementSpec/update', '#" _ id_prefix _ "')", LxERP.t8("Save")) %]
|
|
47 |
[% L.button_tag("submit_ajax_form('controller.pl?action=RequirementSpec/destroy', '#" _ id_prefix _ "')", LxERP.t8("Delete"), confirm=LxERP.t8("Do you really want to delete this object?")) %]
|
|
46 |
[% L.ajax_submit_tag("controller.pl?action=RequirementSpec/update", "#" _ id_prefix, LxERP.t8("Save")) %]
|
|
47 |
[% L.ajax_submit_tag("controller.pl?action=RequirementSpec/destroy", "#" _ id_prefix, LxERP.t8("Delete"), confirm=LxERP.t8("Do you really want to delete this object?")) %]
|
|
48 | 48 |
[% END %] |
49 | 49 |
</p> |
50 | 50 |
</form> |
Auch abrufbar als: Unified diff
Refactoring: L.button_tag("submit_ajax_form()") zu L.ajax_submit_tag()