summaryrefslogtreecommitdiffstats
path: root/freeradius3-listmacauthfiles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'freeradius3-listmacauthfiles-html.lsp')
-rw-r--r--freeradius3-listmacauthfiles-html.lsp1
1 files changed, 1 insertions, 0 deletions
diff --git a/freeradius3-listmacauthfiles-html.lsp b/freeradius3-listmacauthfiles-html.lsp
index 2293b8a..e1c833f 100644
--- a/freeradius3-listmacauthfiles-html.lsp
+++ b/freeradius3-listmacauthfiles-html.lsp
@@ -25,6 +25,7 @@ html = require("acf.html")
<h1>MAC Authentication 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>