Sha256: eefa3403fafeb3cf7eb659d64dd46240d481f7e7fea544699b5ab9e72a0089e5

Contents?: true

Size: 1007 Bytes

Versions: 26

Compression:

Stored size: 1007 Bytes

Contents

<%= form_with url: rodauth.unlock_account_path, method: :post, data: { turbo: false } do |form| %>
  <%== rodauth.unlock_account_explanatory_text %>

  <% if rodauth.unlock_account_requires_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.submit rodauth.unlock_account_button, class: "btn btn-primary" %>
  </div>
<% end %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
rodauth-rails-1.15.2 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.15.1 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.15.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.14.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
plutonium-0.6.2 lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb
plutonium-0.6.1 lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb
plutonium-0.6.0 lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb
plutonium-0.5.0 lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.13.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.12.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.11.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.10.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.9.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.8.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.7.1 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.7.0 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.6.4 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.6.3 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.6.2 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb
rodauth-rails-1.6.1 lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb