Sha256: a7f7ca0e095b38e7c3542c57c69f30ce54ba2818f1f3cd002626aa9f510701f2

Contents?: true

Size: 966 Bytes

Versions: 13

Compression:

Stored size: 966 Bytes

Contents

<form method="post" class="rodauth" role="form" id="webauthn-remove-form">
  #{rodauth.webauthn_remove_additional_form_tags}
  #{rodauth.csrf_tag}
  #{rodauth.render('password-field') if rodauth.two_factor_modifications_require_password?}
  <fieldset class="form-group">
    #{(usage = rodauth.account_webauthn_usage; last_id = usage.keys.last; usage;).map do |id, last_use|
      input = rodauth.input_field_string(rodauth.webauthn_remove_param, "webauthn-remove-#{h id}", :type=>'radio', :class=>"form-check-input", :skip_error_message=>true, :value=>id, :required=>false)
      label = "<label class=\"rodauth-webauthn-id form-check-label\" for=\"webauthn-remove-#{h id}\">Last Use: #{last_use}</label>"
      error = rodauth.formatted_field_error(rodauth.webauthn_remove_param) if id == last_id
      "<div class=\"form-check radio\">#{input}#{label}#{error}</div>"
      end.join("\n")}
  </fieldset>
  #{rodauth.button(rodauth.webauthn_remove_button)}
</form>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rodauth-2.12.0 templates/webauthn-remove.str
rodauth-2.11.0 templates/webauthn-remove.str
rodauth-2.10.0 templates/webauthn-remove.str
rodauth-2.9.0 templates/webauthn-remove.str
rodauth-2.8.0 templates/webauthn-remove.str
rodauth-2.7.0 templates/webauthn-remove.str
rodauth-2.6.0 templates/webauthn-remove.str
rodauth-2.5.0 templates/webauthn-remove.str
rodauth-2.4.0 templates/webauthn-remove.str
rodauth-2.3.0 templates/webauthn-remove.str
rodauth-2.2.0 templates/webauthn-remove.str
rodauth-2.1.0 templates/webauthn-remove.str
rodauth-2.0.0 templates/webauthn-remove.str