Software /
code /
prosody-modules
Comparison
mod_welcome_page/html/index.html @ 4192:1be37846314a
mod_welcome_page/html: Fix form target if path isn't /
action="/" only works if http_paths.welcome_page="/" while "" should
work as long as the GET and POST URLs are the same.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Oct 2020 18:38:36 +0200 |
parent | 4184:9127fa98ee1e |
child | 4200:e92441e8bda0 |
comparison
equal
deleted
inserted
replaced
4191:e2728b540223 | 4192:1be37846314a |
---|---|
38 | 38 |
39 {message&<div class="alert {message.class?alert-info}" role="alert"> | 39 {message&<div class="alert {message.class?alert-info}" role="alert"> |
40 {message.text} | 40 {message.text} |
41 </div>} | 41 </div>} |
42 | 42 |
43 <form method="POST" action="/" class="d-inline"> | 43 <form method="POST" action="" class="d-inline"> |
44 <button class="btn btn-primary btn-lg mb-2" type="submit">Create account</button> | 44 <button class="btn btn-primary btn-lg mb-2" type="submit">Create account</button> |
45 </form> | 45 </form> |
46 | 46 |
47 {var.links&{var.links# | 47 {var.links&{var.links# |
48 <a class="btn btn-{item.class?secondary} btn-lg mb-2" href="{item.href}" role="button">{item.text}</a> | 48 <a class="btn btn-{item.class?secondary} btn-lg mb-2" href="{item.href}" role="button">{item.text}</a> |