% local form, viewlibrary, page_info, session = ... %> <% require("viewfunctions") %> <% displaycommandresults({"deletetableentry", "updatetableentry"}, session) %> <% displaycommandresults({"createtableentry"}, session, true) %>
Action | <% end %> <% for i,f in ipairs(form.value.fields.value) do %><%= html.html_escape(f) %> | <% end %>
<% if viewlibrary.check_permission("updatetableentry") then %> <% end %> <% if viewlibrary.check_permission("deletetableentry") then %> <% end %> | <% end %> <% for i,f in ipairs(form.value.fields.value) do %><%= html.html_escape(tableentry[f]) %> | <% end %>
<%= html.html_escape(form.errtxt) %>
<% end %> <% if #form.value.entries.value == 0 then %>No entries found
<% end %>