diff options
author | bie <bie@blekksprut.net> | 2017-06-04 21:47:59 +0900 |
---|---|---|
committer | bie <bie@blekksprut.net> | 2017-06-04 21:47:59 +0900 |
commit | 6079d8edb941c50e773579c39f5e588b8986c8d8 (patch) | |
tree | 612c192cc140c7ed6e395af2863dfc70855ba9d7 /lupin/anmeldelse.lua | |
parent | 3a7cdeb20edf7c57cfec9ec7f68e0277240a3fb7 (diff) | |
download | tears-6079d8edb941c50e773579c39f5e588b8986c8d8.tar.xz |
tears er enda bedre
Diffstat (limited to 'lupin/anmeldelse.lua')
-rw-r--r-- | lupin/anmeldelse.lua | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lupin/anmeldelse.lua b/lupin/anmeldelse.lua deleted file mode 100644 index 37a441b..0000000 --- a/lupin/anmeldelse.lua +++ /dev/null @@ -1,22 +0,0 @@ -local artikkel = blueprint("anmeldelse") - -function artikkel.env(data) - data.terningkast = os.getenv("POST_terningkast") or "" - data.publisert = os.getenv("POST_publisert") or "" -end - -function artikkel.form(body, data) - html.p() - html.label("Overskrift:") - html.text('title', data.title, 32) - html.p() - html.label("Terningkast:") - html.p(data.terningkast) - html.select('terningkast', { 1, 2, 3, 4, 5, 6 }, data.terningkast or 1) - html.p() - html.textarea('tekst', body) - html.hidden('type', 'anmeldelse') -end - -return artikkel - |