Sha256: 819d181f4f0f7d331423410f6c730a5f60716437a207b64a91c35452cc432d1b

Contents?: true

Size: 868 Bytes

Versions: 2

Compression:

Stored size: 868 Bytes

Contents

<% if Rodauth::MAJOR == 2 -%>
<%% unless rodauth.login_form_footer_links.empty? %>
  <h2>Other Options</h2>
  <ul>
    <%% rodauth.login_form_footer_links.sort.each do |_, link, text| %>
      <li><%%= link_to text, link %></li>
    <%% end %>
  </ul>
<%% end %>
<% else -%>
<%% if rodauth.features.include?(:create_account) %>
  <p><%%= link_to "Create a New Account", rodauth.create_account_path %></p>
<%% end %>
<%% if rodauth.features.include?(:reset_password) %>
  <p><%%= link_to "Forgot Password?", rodauth.reset_password_request_path %></p>
<%% end %>
<%% if rodauth.features.include?(:email_auth) && rodauth.valid_login_entered? %>
  <%%= render "email_auth_request_form" %>
<%% end %>
<%% if rodauth.features.include?(:verify_account) %>
  <p><%%= link_to "Resend Verify Account Information", rodauth.verify_account_resend_path %></p>
<%% end %>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rodauth-rails-0.1.2 lib/generators/rodauth/templates/app/views/rodauth/_login_form_footer.html.erb
rodauth-rails-0.1.1 lib/generators/rodauth/templates/app/views/rodauth/_login_form_footer.html.erb