--- /dev/null
+[% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]>
+
+ <form method="post" action="[% HTML.escape(script) %]">
+
+ <input type="hidden" name="nextsub" value="[% HTML.escape(nextsub) %]">
+ <input type="hidden" name="callback_sub" value="[% HTML.escape(callback_sub) %]">
+
+ <input type="hidden" name="old_form" value="[% HTML.escape(old_form) %]">
+ <input type="hidden" name="remap_parts_id" value="[% HTML.escape(remap_parts_id) %]">
+ <input type="hidden" name="remap_partnumber" value="[% HTML.escape(remap_partnumber) %]">
+
+ <div class="listtop"><translate>Select a part</translate></div>
+
+ <p>
+ <table>
+ <tr>
+ <th class="listheading"> </th>
+ <th class="listheading"><translate>Number</translate></th>
+ <th class="listheading"><translate>Description</translate></th>
+ [% IF has_charge %]
+ <th class="listheading"><translate>Charge number</translate></th>
+ [% END %]
+ </tr>
+
+ [% FOREACH part = PARTS %]
+ <tr class="listrow[% loop.count % 2 %]">
+ <td>
+ <input type="radio" name="selection" value="[% loop.count %]"[% IF loop.first %] checked[% END %]>
+ </td>
+
+ <td>
+ <input type="hidden" name="new_id_[% loop.count %]" value="[% HTML.escape(part.id) %]">
+ <input type="hidden" name="new_number_[% loop.count %]" value="[% HTML.escape(part.number) %]">
+ [% HTML.escape(part.number) %]
+ </td>
+
+ <td>
+ <input type="hidden" name="new_description_[% loop.count %]" value="[% HTML.escape(part.description) %]">
+ [% HTML.escape(part.description) %]
+ </td>
+
+ [% IF has_charge %]
+ <td>
+ <input type="hidden" name="new_charge_id_[% loop.count %]" value="[% HTML.escape(part.charge_id) %]">
+ <input type="hidden" name="new_chargenumber_[% loop.count %]" value="[% HTML.escape(part.chargenumber) %]">
+ [% HTML.escape(part.chargenumber) %]
+ </td>
+ [% END %]
+ </tr>
+ [% END %]
+ </table>
+ </p>
+
+ <p>
+ <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">
+ </p>
+
+ </form>
+
+</body>
+</html>