6 <h1>[% title | html %]</h1>
 
   8 <form action="controller.pl">
 
  10 [% IF !SELF.object.id %]
 
  12   <p>[% 'Input delivery order number (picker NYI)' | $T8 %]</p>
 
  14   [% P.M.input_tag("object_number", "", label=LxERP.t8("Number")) %]
 
  15   [% P.M.submit_tag("submit", LxERP.t8("Update")) %]
 
  17   <h2>[% SELF.object.displayable_name | html %]</h2>
 
  19   [% P.hidden_tag("object_id", SELF.object.id) %]
 
  22 [% P.hidden_tag("object_type", SELF.object_type) %]
 
  23 [% P.hidden_tag("action", "ImageUpload/upload_image") %]
 
  26 [%# IF SELF.object.id %]
 
  27   <div id="image_list_[% SELF.object_type | html %]"></div>
 
  29     $(function() { $.get('controller.pl', { action: "File/list", "file_type": "image", "object_type": "[% SELF.object_type %]", "object_id": "[% SELF.object.id %]", "json": "1"}, kivi.eval_json_result) });