<div class="auth-wrapper col-md-5">
<div class="auth-content card">
<div class="align-items-center">
<div class="card-body">
<div class="text-center">
{% if app.session.get("customerAccountDomain") %}
{% set customerAccountDomain = app.session.get("customerAccountDomain") %}
<img src="{{ asset('uploads/customerAccountLogo/logoWebsite/' ~ customerAccountDomain.getWebsiteLogo()) }}" alt="{{ customerAccountDomain.getName() }}" height="80px" class="mb-4">
{% else %}
<img src="{{ asset('img/logo/overseas-xpress-logo-horizontal.png') }}" alt="Overseas Xpress" class="logoLogin">
{% endif %}
</div>
{# {% if 'overseasxpress.com' in app.request.uri %}#}
{##}
{# <div class="alert alert-success">#}
{# Welcome to the new <b>Overseas Express </b> <br/>#}
{# If you have questions or need help please email backoffice@overseasnetwork.com<br/>#}
{# Thank you#}
{# </div>#}
{# {% endif %}#}
{# {% for message in app.flashes('error') %}#}
{# <div class="alert alert-danger">{{ message }}</div>#}
{# {% endfor %}#}
{# {% for message in app.flashes('success') %}#}
{# <div class="alert alert-success">{{ message }}</div>#}
{# {% endfor %}#}
{% if error %}
<div class="alert alert-danger" role="alert">
{{ error.messageKey|trans(error.messageData, 'security')|raw }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{# <div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }} </div>#}
{% endif %}
<ul class="nav nav-pills nav-fill" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link {% if not requestAccessTab %} active {% endif %}" id="home-tab" data-toggle="tab" href="#home" role="tab"
aria-controls="home" aria-selected="true">Login to Account</a>
</li>
{# {% if not app.session.get("customerAccountDomain") %}#}
<li class="nav-item">
<a class="nav-link {% if requestAccessTab %} active {% endif %}" id="signup-tab" data-toggle="tab" href="#signup" role="tab"
aria-controls="signup" aria-selected="false">Create Account</a>
</li>
{# {% endif %}#}
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade {% if not requestAccessTab %} show active {% endif %}" id="home" role="tabpanel"
aria-labelledby="home-tab">
{% include"login/_loginForm.html.twig" %}
</div>
{# {% if not app.session.get("customerAccountDomain") %}#}
<div class="tab-pane fade {% if requestAccessTab %}in show active {% endif %}" id="signup" role="tabpanel" aria-labelledby="signup-tab">
{% include"login/_requestAccessForm.html.twig" %}
</div>
{# {% endif %}#}
</div>
</div>
</div>
</div>
</div>