app/views/admin/application/components/_user_unconfirmed.html.erb
<% unless current_user.confirmed? %>
<div class="row">
<div class="col-xl-6">
<div class="alert alert-warning mb-4">
<div class="alert-message">
<%= t('admin.users_alerts.pending_confirmation_html',
duration: distance_of_time_in_words(
Rails.configuration.devise.allow_unconfirmed_access_for
)
) %>
<br>
<%= link_to t('devise.confirmations.new.resend_confirmation_instructions'),
resend_user_confirmation_path,
method: :post,
class: 'alert-link' %>
</div>
</div>
</div>
</div>
<% end %>