summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbie <bie@blekksprut.net>2017-06-04 21:52:44 +0900
committerbie <bie@blekksprut.net>2017-06-04 21:52:44 +0900
commitaeb3e0ecfab272b5aaf1a1d860f550380d80acc2 (patch)
treeb13669b2e952c79f624441b35231930a0c5d30da
parent6079d8edb941c50e773579c39f5e588b8986c8d8 (diff)
downloadtears-aeb3e0ecfab272b5aaf1a1d860f550380d80acc2.tar.xz
lead på anmeldelse også
-rw-r--r--blueprints/anmeldelse.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/blueprints/anmeldelse.lua b/blueprints/anmeldelse.lua
index 6c849d6..6df45d7 100644
--- a/blueprints/anmeldelse.lua
+++ b/blueprints/anmeldelse.lua
@@ -17,6 +17,7 @@ local TERMS = {
function artikkel.env(data)
data.image = os.getenv("POST_image")
data.published = os.getenv("POST_published")
+ data.lead = os.getenv("POST_lead")
end
function artikkel.html(body, data)
@@ -70,6 +71,9 @@ function artikkel.form(body, data)
html.orz{inline = true}
html.p{}
+ html.textarea{name='lead', value=data.lead, rows=3}
+
+ html.p{}
html.textarea{name='text', value=body}
html.p{}