summaryrefslogtreecommitdiffstats
path: root/freeradius3-listpasswdfiles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'freeradius3-listpasswdfiles-html.lsp')
-rw-r--r--freeradius3-listpasswdfiles-html.lsp1
1 files changed, 1 insertions, 0 deletions
diff --git a/freeradius3-listpasswdfiles-html.lsp b/freeradius3-listpasswdfiles-html.lsp
index 4633375..db29e46 100644
--- a/freeradius3-listpasswdfiles-html.lsp
+++ b/freeradius3-listpasswdfiles-html.lsp
@@ -23,6 +23,7 @@ html = require("acf.html")
<h1>Passwd Configuration</h1>
<dl>
+<% if view.errtxt then io.write('<p class="error">' .. string.gsub(html.html_escape(view.errtxt), "\n", "<br/>") .. '</p>') end %>
<% if #view.value>0 then %>
<table id="list" class="tablesorter"><thead>
<tr>