[%- USE T8 %] [%- USE L %] [%- USE P %] [%- USE HTML %] [%- USE LxERP %]

[% title %]

[%- INCLUDE 'common/flash.html' %]
[% L.hidden_tag("callback", callback) %] [% L.hidden_tag("id", SELF.project.id) %]
[%- PROCESS 'project/_basic_data.html' %]
[%- IF CUSTOM_VARIABLES.size %]
[%- PROCESS 'project/_cvars.html' %]
[%- END %] [%- IF SELF.project.id %]
[%- PROCESS 'project/_linked_records.html' records=SELF.linked_records %]
[%- END %]

[% L.hidden_tag("action", "Project/dispatch") %] [% L.submit_tag("action_" _ (SELF.project.id ? "update" : "create"), LxERP.t8('Save')) %] [%- IF SELF.project.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.project.is_used %] [%- END %] [%- LxERP.t8('Abort') %]