Sha256: 99d23ebc72115b87ec341fd02223ebbaa3819c048c4e385a48cf359250ae7239

Contents?: true

Size: 977 Bytes

Versions: 4

Compression:

Stored size: 977 Bytes

Contents

<% if controller_name != 'sessions' %>
  <div class="sign_in">
    <%= link_to t('carnival_devise.shared.enter'), new_session_path(resource_name) %>
  </div>
<% end %>
<% if devise_mapping.registerable? && controller_name != 'registrations' %>
  <div class="sign_up">
    <%= link_to t('carnival_devise.shared.register'), new_registration_path(resource_name) %>
  </div>
<% end %>
<% if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
  <div class="forgot_password">
    <%= link_to t('carnival_devise.shared.forgot'), new_password_path(resource_name) %>
  </div>
<% end %>
<% if devise_mapping.omniauthable? %>
  <div class="oauth">
    <% resource_class.omniauth_providers.each do |provider| %>
      <div class="<%= provider %>">
        <%= link_to "#{t('carnival_devise.shared.omni')} #{provider.to_s.titleize}", admin_user_omniauth_authorize_path(provider: provider) %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival_devise_views-0.0.5 app/views/erb/devise/shared/_links.html.erb
carnival_devise_views-0.0.4 app/views/erb/devise/shared/_links.html.erb
carnival_devise_views-0.0.3 app/views/erb/devise/shared/_links.html.erb
carnival_devise_views-0.0.2 app/views/erb/devise/shared/_links.html.erb