templates/otp-setup.str in rodauth-1.23.0 vs templates/otp-setup.str in rodauth-2.0.0
- old
+ new
@@ -1,22 +1,22 @@
-<form method="post" class="rodauth form-horizontal" role="form" id="otp-setup-form">
+<form method="post" class="rodauth" role="form" id="otp-setup-form">
#{rodauth.otp_setup_additional_form_tags}
<input type="hidden" id="otp-key" name="#{rodauth.otp_setup_param}" value="#{rodauth.otp_user_key}" />
#{"<input type=\"hidden\" id=\"otp-hmac-secret\" name=\"#{rodauth.otp_setup_raw_param}\" value=\"#{rodauth.otp_key}\" />" if rodauth.otp_keys_use_hmac?}
#{rodauth.csrf_tag}
<div class="form-group">
<p>#{rodauth.otp_secret_label}: #{rodauth.otp_user_key}</p>
<p>#{rodauth.otp_provisioning_uri_label}: #{rodauth.otp_provisioning_uri}</p>
</div>
<div class="row">
- <div class="col-sm-6 col-sm">
+ <div class="col-lg-6 col-lg">
<div class="form-group">
<p>#{rodauth.otp_qr_code}</p>
</div>
</div>
- <div class="col-sm-6 col-sm">
+ <div class="col-lg-6 col-lg">
#{rodauth.render('password-field') if rodauth.two_factor_modifications_require_password?}
#{rodauth.render('otp-auth-code-field')}
#{rodauth.button(rodauth.otp_setup_button)}
</div>
</div>