Change input(type="button" value="...") to button(type="button") {...}, remove form...
[ndcode_site.git] / my_account / sign_up / index.html.jst
index 179a407..9f10481 100644 (file)
@@ -107,13 +107,13 @@ return async env => {
                   img#verification-image(src="/api/verification_image.png?seq=0" width=300 height=150) {}
                 }
                 div.'col-md-2'.my-auto.text-center {
-                  input.btn.btn-outline-secondary#'step-1-new-code'(type="button" value="New code") {}
+                  button.btn.btn-outline-secondary#'step-1-new-code'(type="button") {'New code'}
                 }
               }
 
               p.mt-3 {'Note: If your name is one word or does not fit given names/family name pattern, then please enter given names only. Your given names are visible to other users if you comment on our blog. Your email and family name remain private.'}
 
-              input.btn.btn-success#step-1-continue(type="button" value="Continue") {}
+              button.btn.btn-success#step-1-continue(type="button") {'Continue'}
               p.'mt-3'.mb-0 {'* These fields are required.'}
             }
           }
@@ -141,8 +141,8 @@ return async env => {
             div.card-body {
               p#step-2-message {'Please enter your details first.'}
 
-              input.btn.btn-outline-secondary#step-2-back(type="button" value="Back") {}
-              input.btn.btn-outline-secondary.ml-3#step-2-continue(type="button" value="Continue") {}
+              button.btn.btn-outline-secondary#step-2-back(type="button") {'Back'}
+              button.btn.btn-outline-secondary.ml-3#step-2-continue(type="button") {'Continue'}
             }
           }
         }
@@ -169,8 +169,8 @@ return async env => {
             div.card-body {
               p#step-3-message {'Please create your account first.'}
 
-              input.btn.btn-outline-secondary#step-3-back(type="button" value="Back") {}
-              input.btn.btn-outline-secondary.ml-3#step-3-resend-email(type="button" value="Re-send email") {}
+              button.btn.btn-outline-secondary#step-3-back(type="button") {'Back'}
+              button.btn.btn-outline-secondary.ml-3#step-3-resend-email(type="button") {'Re-send email'}
             }
           }
         }