Sha256: 9d7d1abcaa1b9a57a04f5b00063edb4c76cb6c6c528f7fd57778f6d4004b1d5c

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<%%= form_tag <%= rodauth %>.remember_path, method: :post do %>
  <fieldset class="form-group mb-3">
    <div class="form-check">
      <%%= radio_button_tag <%= rodauth %>.remember_param, <%= rodauth %>.remember_remember_param_value, false, id: "remember-remember", class: "form-check-input" %>
      <%%= label_tag "remember-remember", "Remember Me", class: "form-check-label" %>
    </div>

    <div class="form-check">
      <%%= radio_button_tag <%= rodauth %>.remember_param, <%= rodauth %>.remember_forget_param_value, false, id: "remember-forget", class: "form-check-input" %>
      <%%= label_tag "remember-forget", "Forget Me", class: "form-check-label" %>
    </div>

    <div class="form-check">
      <%%= radio_button_tag <%= rodauth %>.remember_param, <%= rodauth %>.remember_disable_param_value, false, id: "remember-disable", class: "form-check-input" %>
      <%%= label_tag "remember-disable", "Disable Remember Me", class: "form-check-label" %>
    </div>
  </fieldset>
  <%%= render "submit", value: "Change Remember Setting" %>
<%% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rodauth-rails-0.17.1 lib/generators/rodauth/templates/app/views/rodauth/remember.html.erb
rodauth-rails-0.17.0 lib/generators/rodauth/templates/app/views/rodauth/remember.html.erb
rodauth-rails-0.16.0 lib/generators/rodauth/templates/app/views/rodauth/remember.html.erb
rodauth-rails-0.15.0 lib/generators/rodauth/templates/app/views/rodauth/remember.html.erb
rodauth-rails-0.14.0 lib/generators/rodauth/templates/app/views/rodauth/remember.html.erb