Files
sure/app/views/invitation_mailer/invite_email.html.erb
Juan José Mata 868a0ae4d8 Add family moniker selection and dynamic UI labels (#981)
* Add family moniker selection and dynamic UI labels

Introduce a Family moniker persisted in the database with allowed values Family/Group, add required onboarding selection for it, and thread moniker-aware copy through key user-facing views and locales. Also add helper methods and tests for onboarding form presence and family moniker behavior.

* Small copy edits/change moniker question order

* Conditional Group/Family onboarding flow fixes

* Fix label

* Grouping of fields

* Profile Info page Group/Family changes

* Only admins can change Group/Family moniker

* Repetitive defaults

* Moniker in Account model

* Moniker in User model

* Auth fix

* Sure product is also a moniker

---------

Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2026-02-13 19:30:29 +01:00

16 lines
404 B
Plaintext

<h1><%= t(".greeting", product_name: product_name) %></h1>
<p>
<%= t(
".body",
inviter: @invitation.inviter.display_name,
family: @invitation.family.name,
moniker: @invitation.family.moniker_label.downcase,
product_name: product_name
).html_safe %>
</p>
<%= link_to t(".accept_button"), @accept_url, class: "button" %>
<p class="footer"><%= t(".expiry_notice", days: 3) %></p>