diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/change_mail.pug | 1 | ||||
-rw-r--r-- | views/change_name.pug | 1 | ||||
-rw-r--r-- | views/create.pug | 2 | ||||
-rw-r--r-- | views/index.pug | 2 | ||||
-rw-r--r-- | views/join.pug | 4 | ||||
-rw-r--r-- | views/login.pug | 1 |
6 files changed, 3 insertions, 8 deletions
diff --git a/views/change_mail.pug b/views/change_mail.pug index 32b399d..d244e98 100644 --- a/views/change_mail.pug +++ b/views/change_mail.pug @@ -10,6 +10,7 @@ html h1 Change mail address if flash p.error= flash + form(method="post" action="/change-mail") p Name: #{user.name} p Mail: #{user.mail} diff --git a/views/change_name.pug b/views/change_name.pug index ebf5dc6..03763ac 100644 --- a/views/change_name.pug +++ b/views/change_name.pug @@ -10,6 +10,7 @@ html h1 Change name if flash p.error= flash + form(method="post" action="/change-name") p Name: #{user.name} p Mail: #{user.mail} diff --git a/views/create.pug b/views/create.pug index a736dbe..7aa53f3 100644 --- a/views/create.pug +++ b/views/create.pug @@ -10,8 +10,6 @@ html include header article h1= title.title_name - if flash - p.error= flash a(href="/info/"+title.title_id): img.logo(src="/"+title.title_id+"/cover.jpg") diff --git a/views/index.pug b/views/index.pug index db6fcdc..ab5cdc9 100644 --- a/views/index.pug +++ b/views/index.pug @@ -29,8 +29,6 @@ html include header article h1 Rally the Troops! - if flash - p.error= flash p Rally the Troops! is a website where you can play historic games with other players. diff --git a/views/join.pug b/views/join.pug index 8a04ad6..101afdf 100644 --- a/views/join.pug +++ b/views/join.pug @@ -21,10 +21,6 @@ html include header article h1= game.title_name - if flash - p.error#error= flash - else - p.error#error a(href="/info/"+game.title_id): img.logo(src="/"+game.title_id+"/cover.jpg") diff --git a/views/login.pug b/views/login.pug index 391debe..88d75fe 100644 --- a/views/login.pug +++ b/views/login.pug @@ -15,6 +15,7 @@ html p You're already logged in! else form(method="post" action="/login") + input(type="hidden" name="redirect" value=redirect) p label Name or mail: br |