Sha256: 47557c28d7515c501d0e791111227475d57867fbe30f440f15b2d6beceaf4b48
Contents?: true
Size: 1.68 KB
Versions: 10
Compression:
Stored size: 1.68 KB
Contents
<% content_for :title, rodauth.sms_setup_page_title %> <%= form_with url: rodauth.sms_setup_path, method: :post, data: { turbo: false } do |form| %> <% if rodauth.two_factor_modifications_require_password? %> <div class="form-group mb-3"> <%= form.label "password", rodauth.password_label, class: "form-label" %> <%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %> <%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %> </div> <% end %> <div class="form-group mb-3"> <%= form.label "sms-phone", rodauth.sms_phone_label, class: "form-label" %> <div class="row"> <div class="col-sm-3"> <%= form.telephone_field rodauth.sms_phone_param, value: "", id: "sms-phone", autocomplete: "tel", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.sms_phone_param)}", aria: ({ invalid: true, describedby: "sms-phone_error_message" } if rodauth.field_error(rodauth.sms_phone_param)) %> <%= content_tag(:span, rodauth.field_error(rodauth.sms_phone_param), class: "invalid-feedback", id: "sms-phone_error_message") if rodauth.field_error(rodauth.sms_phone_param) %> </div> </div> </div> <div class="form-group mb-3"> <%= form.submit rodauth.sms_setup_button, class: "btn btn-primary" %> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems