summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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{}