Sha256: fd1ad768d6f5fa2fe540cb5974d664dc6981318d3197fcc78893e230b732795b

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

<%- if controller_name != 'sessions' %>
  <%= link_to "Entrar", new_session_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
  <%= link_to "Cadastre-se", new_registration_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
  <%= link_to "Esqueceu a senha?", new_password_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
  <%= link_to "Instruções de confirmação", new_confirmation_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
  <%= link_to "Desbloquear minha Conta", new_unlock_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.omniauthable? %>
  <%- resource_class.omniauth_providers.each do |provider| %>
    <%= link_to "Entrar com #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider) %><br />
  <% end -%>
<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails-bootstrap-engine-0.0.9 app/views/devise/shared/_links.erb
rails-bootstrap-engine-0.0.8 app/views/devise/shared/_links.erb
rails-bootstrap-engine-0.0.5 app/views/devise/shared/_links.erb
rails-bootstrap-engine-0.0.4 app/views/devise/shared/_links.erb
rails-bootstrap-engine-0.0.3 app/views/devise/shared/_links.erb
rails-bootstrap-engine-0.0.2 app/views/devise/shared/_links.erb