lib/generators/rodauth/templates/app/views/rodauth/sms_confirm.html.erb in rodauth-rails-0.18.1 vs lib/generators/rodauth/templates/app/views/rodauth/sms_confirm.html.erb in rodauth-rails-1.0.0

- old
+ new

@@ -1,7 +1,7 @@ <% content_for :title, rodauth.sms_confirm_page_title %> -<%= form_with url: rodauth.sms_confirm_path, method: :post do |form| %> +<%= form_with url: rodauth.sms_confirm_path, method: :post, data: { turbo: false } do |form| %> <div class="form-group mb-3"> <%= form.label "sms-code", rodauth.sms_code_label, class: "form-label" %> <div class="row"> <div class="col-sm-3"> <%= form.text_field rodauth.sms_code_param, value: "", id: "sms-code", autocomplete: "one-time-code", inputmode: "numeric", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.sms_code_param)}", aria: ({ invalid: true, describedby: "sms-code_error_message" } if rodauth.field_error(rodauth.sms_code_param)) %>