Platoniq/decidim-verifications-direct_verifications

View on GitHub
app/views/devise/mailer/direct_invite.html.erb

Summary

Maintainability
Test Coverage
<p><%= t("devise.mailer.invitation_instructions.hello", email: @resource.name) %></p>

<p>
  <%= t("devise.mailer.invitation_instructions.someone_invited_you", application: @resource.organization.name) %>
</p>

<p><%= link_to t("devise.mailer.invitation_instructions.accept"), accept_invitation_url(@resource, invitation_token: @token, invite_redirect: decidim.root_path, host: @resource.organization.host) %></p>

<% if @resource.invitation_due_at %>
  <p><%= t("devise.mailer.invitation_instructions.accept_until", due_date: l(@resource.invitation_due_at, format: :long)) %></p>
<% end %>

<p><%= t("devise.mailer.invitation_instructions.ignore").html_safe %></p>