From 26ab499f25452b9f9d4ef04fdc4a12ecf05d3702 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 11 Oct 2011 15:06:39 +0200 Subject: [PATCH] =?utf8?q?Testseite=20f=C3=BCr=20part=20autocomplete?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Conflicts: templates/webpages/part/ajax_autocomplete.html --- .../webpages/part/ajax_autocomplete.html | 2 +- templates/webpages/part/testpage.html | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 templates/webpages/part/testpage.html diff --git a/templates/webpages/part/ajax_autocomplete.html b/templates/webpages/part/ajax_autocomplete.html index 9d2a492c6..53fa6f043 100644 --- a/templates/webpages/part/ajax_autocomplete.html +++ b/templates/webpages/part/ajax_autocomplete.html @@ -1,4 +1,4 @@ -[%- USE HTML %][% USE JSON %][ +[%- USE HTML %][% USE JSON %][ [%- FOREACH part = SELF.parts %] [%- ajax_autocomplete__label = part.partnumber _ " " _ part.description %] { diff --git a/templates/webpages/part/testpage.html b/templates/webpages/part/testpage.html new file mode 100644 index 000000000..551220fb8 --- /dev/null +++ b/templates/webpages/part/testpage.html @@ -0,0 +1,40 @@ +[% USE L %] +[% USE T8 %] +[% USE LxERP %] +[% L.javascript_tag('jquery', 'jquery-ui') %] + + +

Pick a part

+id: [% L.input_tag('part_id', '') %] +nr: [% L.input_tag('part_partnumber', '') %] +desc: [% L.input_tag('part_description', '') %] + + -- 2.20.1