{# app/modules/tenancy/templates/tenancy/store/invitation-accept.html #} {# Standalone invitation acceptance page - does NOT extend store/base.html #} Accept Invitation - {{ invitation.store_name if invitation else 'Store' }}
{% if not invitation or not invitation.valid %} {# ==================== ERROR STATE ==================== #}
{% if invitation and invitation.error == 'expired' %}

Invitation Expired

This invitation has expired. Please ask {{ invitation.store_name }} to send you a new one.

{% elif invitation and invitation.error == 'already_accepted' %}

Already Accepted

This invitation has already been accepted. You can log in to {{ invitation.store_name }}.

{% else %}

Invalid Invitation

This invitation link is not valid. Please check your email for the correct link.

{% endif %} Go to Login
{% else %} {# ==================== ACCEPTANCE FORM ==================== #} {# Store info header #}
{{ invitation.store_name[:1] | upper }}

{{ invitation.store_name }}

You've been invited as {{ invitation.role_name }}

Complete Your Account

{# Alert Messages #}

Account activated!

Redirecting to login...

{# Name fields #}
{# Email (read-only) #} {# Password #} {# Confirm Password #} {# Submit #}
{% endif %}