From fbf710df3958200d7d3bb2077e3f4aff4571e093 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sun, 28 Oct 2012 22:35:49 +0000 Subject: Removed unneeded views by updating CFE for autoview --- heimdal-kinit-html.lsp | 11 ----------- heimdal-model.lua | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 heimdal-kinit-html.lsp diff --git a/heimdal-kinit-html.lsp b/heimdal-kinit-html.lsp deleted file mode 100644 index 15edc19..0000000 --- a/heimdal-kinit-html.lsp +++ /dev/null @@ -1,11 +0,0 @@ -<% local form, viewlibrary, page_info = ... -require("htmlviewfunctions") -html = require("acf.html") -%> - -

<%= html.html_escape(form.label) %>

-<% - form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - form.value.password.type = "password" - htmlviewfunctions.displayform(form) -%> diff --git a/heimdal-model.lua b/heimdal-model.lua index abf3745..c0402df 100644 --- a/heimdal-model.lua +++ b/heimdal-model.lua @@ -42,8 +42,8 @@ end function get_kinit() local value = {} - value.login = cfe({ label="KDC login" }) - value.password = cfe({ label="KDC password" }) + value.login = cfe({ label="KDC login", seq=1 }) + value.password = cfe({ type="password", label="KDC password", seq=2 }) return cfe({ type="group", value=value, label="Kinit Parameters" }) end -- cgit v1.2.3