summaryrefslogtreecommitdiff
path: root/blueprints/artikkel.lua
diff options
context:
space:
mode:
authorbie <bie@blekksprut.net>2017-08-04 07:05:12 +0000
committerbie <bie@blekksprut.net>2017-08-04 07:05:12 +0000
commit23b87b2cf914115bfdd7dea7fbea31588964cd79 (patch)
tree2b378e5b0b61635c771359fc81c74735c85b7b07 /blueprints/artikkel.lua
parent8171e8677431b360c83e69d383e367386e132f32 (diff)
parente1e6b653051119212c4c951096204160f3514f83 (diff)
downloadtears-23b87b2cf914115bfdd7dea7fbea31588964cd79.tar.xz
Diffstat (limited to 'blueprints/artikkel.lua')
-rw-r--r--blueprints/artikkel.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/blueprints/artikkel.lua b/blueprints/artikkel.lua
index 506c701..a4c6de7 100644
--- a/blueprints/artikkel.lua
+++ b/blueprints/artikkel.lua
@@ -19,7 +19,7 @@ function artikkel.html(body, data)
end
html.print("<p class=figure>")
- html.img(data.image)
+ html.img{src = data.image}
html.h2(data.title)
@@ -56,6 +56,8 @@ function artikkel.form(body, data)
html.label{text="Bilde:"}
html.orz{name = "image", value = data.image}
html.p{}
+ html.orz{inline = true}
+ html.print("<p id=lol>")
html.textarea{name='lead', value=data.lead, rows=3}
html.p{}
html.textarea{name='text', value=body}