mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +02:00
Family invites (#1397)
* Initial pass at household invites * Invitee setup * Clean up add member form * Lint and other tweaks * Security cleanup * Lint * i18n fixes * More i18n cleanup * Show pending invites * Don't use turbo on the form * Improved email design * Basic tests * Lint * Update onboardings_controller.rb * Registration + invite cleanup * Lint * Update brakeman.ignore * Update brakeman.ignore * Self host invite links * Test tweaks * Address missing param error
This commit is contained in:
parent
09b269273a
commit
793bd852a0
26 changed files with 502 additions and 45 deletions
11
app/views/invitation_mailer/invite_email.html.erb
Normal file
11
app/views/invitation_mailer/invite_email.html.erb
Normal file
|
@ -0,0 +1,11 @@
|
|||
<h1><%= t(".greeting") %></h1>
|
||||
|
||||
<p>
|
||||
<%= t(".body",
|
||||
inviter: @invitation.inviter.display_name,
|
||||
family: @invitation.family.name).html_safe %>
|
||||
</p>
|
||||
|
||||
<%= link_to t(".accept_button"), @accept_url, class: "button" %>
|
||||
|
||||
<p class="footer"><%= t(".expiry_notice", days: 3) %></p>
|
Loading…
Add table
Add a link
Reference in a new issue