summaryrefslogtreecommitdiffstats
path: root/provisioning-dumpdatabase-html.lsp
blob: cb7b50be446c36661a78a97b4e58f5976651d1f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<% local form, viewlibrary, page_info = ... 
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>

<% if form.value.data then %>
<h1><%= html.html_escape(form.value.data.label) %></h1>
<textarea name="filecontent">
<%= html.html_escape(form.value.data.value) %>
</textarea>
<% end %>

<h1><%= html.html_escape(form.label) %></h1>
<%
	form.value.data = nil
	htmlviewfunctions.displayform(form, nil, nil, page_info, 2)
%>