diff --git a/app/views/invitations/index.html.erb b/app/views/invitations/index.html.erb index 7ca0699..a606b1c 100644 --- a/app/views/invitations/index.html.erb +++ b/app/views/invitations/index.html.erb @@ -3,23 +3,29 @@ <%= render MainSimpleComponent.new do %> <% if @invitations_unused.any? %> - + Invite your friends to a Kosmos account by sharing an invitation URL with them: - - - - URL - - - - <% @invitations_unused.each do |invitation| %> - - <%= invitation_url(invitation.token) %> - - <% end %> - - + + <% @invitations_unused.each do |invitation| %> + + + + + <%= render partial: "icons/copy", locals: { custom_class: "text-white h-4 w-4 inline" } %> + + + <%= render partial: "icons/check", locals: { custom_class: "text-white h-4 w-4 inline" } %> + + + + <% end %> + <% else %> You do not have any invitations to give away yet. We will notify you,
+
Invite your friends to a Kosmos account by sharing an invitation URL with them:
You do not have any invitations to give away yet. We will notify you,