<% local form, viewlibrary, page_info, session = ... %> <% require("viewfunctions") %> <% displaycommandresults({"deletetableentry", "updatetableentry"}, session) %> <% displaycommandresults({"createtableentry"}, session, true) %>

<%= html.html_escape(form.label) %> - <%= html.html_escape(form.value.table.value) %>

<% if viewlibrary.check_permission("deletetableentry") or viewlibrary.check_permission("updatetableentry") then %> <% end %> <% for i,f in ipairs(form.value.fields.value) do %> <% end %> <% for i,tableentry in ipairs(form.value.entries.value) do %> <% if viewlibrary.check_permission("deletetableentry") or viewlibrary.check_permission("updatetableentry") then %> <% end %> <% for i,f in ipairs(form.value.fields.value) do %> <% end %> <% end %>
Action<%= html.html_escape(f) %>
<% if viewlibrary.check_permission("updatetableentry") then %>
<% end %> <% if viewlibrary.check_permission("deletetableentry") then %>
<% end %>
<%= html.html_escape(tableentry[f]) %>
<% if #form.value.entries.value == 0 then %>

No entries found

<% end %>
<% if page_info.action == "viewtable" and viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createtableentry") then viewlibrary.dispatch_component("createtableentry", {table=form.value.table.value}) end %>