diff options
author | bie <bie@blekksprut.net> | 2017-06-04 21:52:44 +0900 |
---|---|---|
committer | bie <bie@blekksprut.net> | 2017-06-04 21:52:44 +0900 |
commit | aeb3e0ecfab272b5aaf1a1d860f550380d80acc2 (patch) | |
tree | b13669b2e952c79f624441b35231930a0c5d30da /blueprints | |
parent | 6079d8edb941c50e773579c39f5e588b8986c8d8 (diff) | |
download | tears-aeb3e0ecfab272b5aaf1a1d860f550380d80acc2.tar.xz |
lead på anmeldelse også
Diffstat (limited to 'blueprints')
-rw-r--r-- | blueprints/anmeldelse.lua | 4 |
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{} |