% local view, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>
<% displaycommandresults({"update"}, session) %>
Available skins
<% for i,skin in ipairs(view.value) do %>
- <%= skin.value %>
<% if (skin.inuse) then %>
- in use
<% else %>
- [use this skin]
<% end %>
<% end %>