mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 05:51:43 +00:00
fix: solo invitar una vez
This commit is contained in:
parent
732db666c7
commit
1fa37b20e1
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
%h1= site.title
|
||||
%p= site.description
|
||||
|
||||
- if @resource.created_by_invite?
|
||||
- if @resource.created_by_invite? && !@resource.invitation_accepted?
|
||||
%p= link_to t('devise.mailer.invitation_instructions.accept'),
|
||||
accept_invitation_url(@resource, invitation_token: @token)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
\
|
||||
= site.description
|
||||
\
|
||||
- if @resource.created_by_invite?
|
||||
- if @resource.created_by_invite? && !@resource.invitation_accepted?
|
||||
= accept_invitation_url(@resource, invitation_token: @token)
|
||||
\
|
||||
- if @resource.invitation_due_at
|
||||
|
|
Loading…
Reference in a new issue