<% local form, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> <% html = require("acf.html") %>

<%= html.html_escape(form.label) %>

<% if form.errtxt then %>

<%= string.gsub(html.html_escape(form.errtxt), "\n", "
") %>

<% end %> <% for i,database in ipairs(form.value) do %>
  • <% if viewlibrary.check_permission("listtables") then %> <%= html.link{value = "listtables?database=" .. database, label=database} %> <% else %> <%= html.html_escape(database) %> <% end %> <% end %> <% if #form.value == 0 then %> No databases found <% end %>