summaryrefslogtreecommitdiff
path: root/views/create.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-04 18:55:49 +0100
committerTor Andersson <tor@ccxvii.net>2021-12-04 18:57:24 +0100
commit1b9565fa2eeb2635f2233161f920963bf514b524 (patch)
tree63b1623f9575c8453d5348a9d9eeaa54e34e472d /views/create.pug
parent07c8263929fb5b46082d5c3b20a11edfb59a2b25 (diff)
downloadserver-1b9565fa2eeb2635f2233161f920963bf514b524.tar.gz
Use img srcset for cover images of differing resolutions.
Diffstat (limited to 'views/create.pug')
-rw-r--r--views/create.pug3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/create.pug b/views/create.pug
index 7aa53f3..84f950a 100644
--- a/views/create.pug
+++ b/views/create.pug
@@ -11,7 +11,8 @@ html
article
h1= title.title_name
- a(href="/info/"+title.title_id): img.logo(src="/"+title.title_id+"/cover.jpg")
+ div.logo
+ +gamecover(title.title_id)
form(method="post" action="/create/"+title.title_id)
if scenarios.length > 1