local etlua = require"etlua"
local form = etlua.compile[[
Yokoka’s Quest Character Profile Creator
<% if data then %><%= data %><% end %>
Based on the character profiles in the webcomic Yokoka’s Quest by Chris Hyacinth R. Assets
shared by the author on the webcomic’s forums.
]]
return {
desc = "Creates Yokoka’s quest-style personal status page",
run = function(fcgi)
fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n")
local data = nil
if fcgi.getenv("REQUEST_METHOD") == "POST" then
data = fcgi.post()
end
form({data = data})
end
}