mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-28 01:36:33 +08:00
Remove link to "Resend confirmation instructions" if not neccesary
Closes SCI-747.
This commit is contained in:
parent
d142fa96d9
commit
e099a279b1
7 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<%= render "users/shared/links" %>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -31,5 +31,5 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<%= render "users/shared/links" %>
|
||||
</div>
|
||||
|
|
|
@ -21,5 +21,5 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<%= render "users/shared/links" %>
|
||||
</div>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<%= render "users/shared/links" %>
|
||||
</div>
|
||||
|
||||
<% if resource and not resource.errors.empty? %>
|
||||
|
|
|
@ -30,5 +30,5 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<%= render "users/shared/links" %>
|
||||
</div>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<%= link_to t("devise.links.forgot"), new_password_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
||||
<%- if Rails.configuration.x.enable_email_confirmations && devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
||||
<%= link_to t("devise.links.not_receive_confirmation"), new_confirmation_path(resource_name) %><br />
|
||||
<% end -%>
|
||||
|
||||
|
|
|
@ -21,5 +21,5 @@
|
|||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<%= render "users/shared/links" %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue