blob: f0d39b098370544b6fde7c16dbfe9e301a9fc912 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<% local form, viewlibrary, page_info = ...
require("viewfunctions")
%>
<% if form.value.result then
local func = haserl.loadfile(page_info.viewfile:gsub("searchdevices", "listdevices"))
func(form.value.result, viewlibrary, page_info, session)
end %>
<H1><%= html.html_escape(form.label) %></H1>
<%
form.value.result = nil
form.option = "Search"
displayform(form, nil, nil, page_info, 2)
%>
|