-<form method="post" action="controller.pl" id="order_form">
- [% L.hidden_tag('callback', FORM.callback) %]
- [% L.hidden_tag('type', FORM.type) %]
- [% L.hidden_tag('id', SELF.order.id) %]
+<div id="shipto_dialog" class="hidden"></div>
+
+<form method="post" action="controller.pl" id="order_form"
+ data-transport-cost-reminder-article-id="[% HTML.escape(transport_cost_reminder_article.id) %]"
+ data-transport-cost-reminder-article-description="[% HTML.escape(transport_cost_reminder_article.displayable_name) %]">
+ [% L.hidden_tag('callback', FORM.callback) %]
+ [% L.hidden_tag('type', FORM.type) %]
+ [% L.hidden_tag('id', SELF.order.id) %]
+ [% L.hidden_tag('converted_from_record_type_ref', SELF.order.converted_from_record_type_ref) %]
+ [% L.hidden_tag('converted_from_record_id', SELF.order.converted_from_record_id) %]
+ [% L.hidden_tag('email_journal_id', FORM.email_journal_id) %]
+ [% L.hidden_tag('email_attachment_id', FORM.email_attachment_id) %]
+ [% L.hidden_tag('workflow_email_journal_id', FORM.workflow_email_journal_id) %]
+ [% L.hidden_tag('workflow_email_attachment_id', FORM.workflow_email_attachment_id) %]
+ [% L.hidden_tag('workflow_email_callback', FORM.workflow_email_callback) %]
+
+ [% IF !SELF.order.id %]
+ [% L.hidden_tag('form_validity_token', FORM.form_validity_token) %]
+ [% END %]