summaryrefslogtreecommitdiff
path: root/blueprints/artikkel.lua
diff options
context:
space:
mode:
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}