<% local view, viewlibrary, page_info, session = ... require("htmlviewfunctions") html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deleteparam", "editparam"}, session) %> <% htmlviewfunctions.displaycommandresults({"createparam"}, session, true) %>

Parameters

<% for k,v in ipairs( view.value ) do %> <% end %>
Action Name Label Default Sequence
<% if viewlibrary.check_permission("deleteparam") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleteparam?submit=true¶m_id="..v.param_id, label="Delete ", class="deleteparam"} %> <% end %> <% if viewlibrary.check_permission("editparam") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editparam?param_id="..v.param_id.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> <%= html.html_escape(v.name) %> <%= html.html_escape(v.label) %> <%= html.html_escape(v.value) %> <%= html.html_escape(v.seq) %>
<% if view.errtxt then %>

<%= html.html_escape(view.errtxt) %>

<% end %> <% if #view.value == 0 then %>

No parameters found

<% end %> <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createparam") then viewlibrary.dispatch_component("createparam") end %>