Sha256: 902010828adc3ebc0d658451307c4a9510073a50ca080b0737e33f6fbf3ecee0

Contents?: true

Size: 1.86 KB

Versions: 34

Compression:

Stored size: 1.86 KB

Contents

<%= form_with url: rodauth.remember_path, method: :post, data: { turbo: false }, class: "w-full max-w-sm" do |form| %>
  <fieldset class="mb-6 space-y-2">
    <div class="flex items-center space-x-2">
      <%= form.radio_button rodauth.remember_param, rodauth.remember_remember_param_value, id: "remember-remember", class: "dark:bg-gray-900 dark:border-gray-600 dark:checked:bg-current dark:checked:border-current dark:checked:text-emerald-400 dark:focus:ring-emerald-400 dark:focus:ring-offset-gray-900" %>
      <%= form.label "remember-remember", rodauth.remember_remember_label, class: "text-sm" %>
    </div>
    <div class="flex items-center space-x-2">
      <%= form.radio_button rodauth.remember_param, rodauth.remember_forget_param_value, id: "remember-forget", class: "dark:bg-gray-900 dark:border-gray-600 dark:checked:bg-current dark:checked:border-current dark:checked:text-emerald-400 dark:focus:ring-emerald-400 dark:focus:ring-offset-gray-900" %>
      <%= form.label "remember-forget", rodauth.remember_forget_label, class: "text-sm" %>
    </div>
    <div class="flex items-center space-x-2">
      <%= form.radio_button rodauth.remember_param, rodauth.remember_disable_param_value, id: "remember-disable", class: "dark:bg-gray-900 dark:border-gray-600 dark:checked:bg-current dark:checked:border-current dark:checked:text-emerald-400 dark:focus:ring-emerald-400 dark:focus:ring-offset-gray-900" %>
      <%= form.label "remember-disable", rodauth.remember_disable_label, class: "text-sm" %>
    </div>
  </fieldset>

  <%= form.submit rodauth.remember_button, class: "w-full px-8 py-3 cursor-pointer font-semibold text-sm rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-600 dark:bg-emerald-400 dark:hover:bg-emerald-500 dark:text-gray-900 dark:focus:ring-emerald-400 dark:focus:ring-offset-current" %>
<% end %>

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
rodauth-rails-1.15.2 lib/generators/rodauth/templates/app/views/rodauth/tailwind/remember.html.erb
rodauth-rails-1.15.1 lib/generators/rodauth/templates/app/views/rodauth/tailwind/remember.html.erb
rodauth-rails-1.15.0 lib/generators/rodauth/templates/app/views/rodauth/tailwind/remember.html.erb
plutonium-0.12.14 app/views/rodauth/remember.html.erb
plutonium-0.12.13 app/views/rodauth/remember.html.erb
plutonium-0.12.12 app/views/rodauth/remember.html.erb
plutonium-0.12.11 app/views/rodauth/remember.html.erb
plutonium-0.12.10 app/views/rodauth/remember.html.erb
plutonium-0.12.9 app/views/rodauth/remember.html.erb
plutonium-0.12.8 app/views/rodauth/remember.html.erb
plutonium-0.12.7 app/views/rodauth/remember.html.erb
plutonium-0.12.5 app/views/rodauth/remember.html.erb
plutonium-0.12.4 app/views/rodauth/remember.html.erb
plutonium-0.12.3 app/views/rodauth/remember.html.erb
plutonium-0.12.2 app/views/rodauth/remember.html.erb
plutonium-0.12.1 app/views/rodauth/remember.html.erb
plutonium-0.12.0 app/views/rodauth/remember.html.erb
plutonium-0.11.2 app/views/rodauth/remember.html.erb
plutonium-0.11.1 app/views/rodauth/remember.html.erb
plutonium-0.11.0 app/views/rodauth/remember.html.erb