From aeb3e0ecfab272b5aaf1a1d860f550380d80acc2 Mon Sep 17 00:00:00 2001 From: bie Date: Sun, 4 Jun 2017 21:52:44 +0900 Subject: =?UTF-8?q?lead=20p=C3=A5=20anmeldelse=20ogs=C3=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blueprints/anmeldelse.lua | 4 ++++ 1 file changed, 4 insertions(+) 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{} -- cgit v1.0