<div class="content-detail-container" style="border:none!important;">
    <div class="text-right">
        {% if userData.type == 'Super Admin' or 'Admin Account User Update' in userData.accesses %}
            {% if accountUser.accountUserType.description == 'Sales Agent' and accountUser.salesAgent %}
                <a class="href-new-action" href="{{ path('sales_agent_form', {action: 'u', 'id': accountUser.salesAgent.idencoded}) }}" title="Update Sales Agent"><i class="fa fa-edit"></i></a>
            {% elseif accountUser.accountUserType.description == 'Account Staff' and  accountUser.accountStaff %}
                <a class="href-new-action" href="{{ path('account_staff_form', {action: 'u', 'id': accountUser.accountStaff.idencoded}) }}" title="Update Account Staff"><i class="fa fa-edit"></i></a>
            {% elseif accountUser.accountUserType.description == 'Clinician' and accountUser.provider %}
                <a class="href-new-action" href="{{ path('provider_form', {action: 'u', 'id': accountUser.provider.idencoded}) }}" title="Update Clinician"><i class="fa fa-edit"></i></a>
            {% else %}
                <a class="href-new-action" href="{{ path('account_user_form', {action: 'u', 'id': accountUser.idencoded}) }}" title="Update Account User"><i class="fa fa-edit"></i></a>
            {% endif %}
        {% endif %}
    </div>
    <div class="row max-width-initial">
        <div class="large-6 columns">
            {% if accountUser.accountUserType.description == 'Sales Agent' and accountUser.salesAgent %}
                <div class="salesAgent-photo" style=" margin-right: 10px; width:110px; height: 110px; float: left;">
                    <img src="{{accountUser.salesAgent.photowebpath}}" style="margin: 0 auto; height: 100%;">
                </div>
            {% elseif accountUser.accountUserType.description == 'Account Staff' and accountUser.accountStaff %}
                <div class="salesAgent-photo" style=" margin-right: 10px; width:110px; height: 110px; float: left;">
                    <img src="{{accountUser.accountStaff.photowebpath}}" style="margin: 0 auto; height: 100%;">
                </div>
            {% elseif accountUser.accountUserType.description == 'Clinician' and accountUser.provider %}
                <div class="salesAgent-photo" style=" margin-right: 10px; width:110px; height: 110px; float: left;">
                    <img src="{{accountUser.provider.photowebpath}}" style="margin: 0 auto; height: 100%;">
                </div>
            {% else %}

            {% endif %}
            <h4 style="color: #2199e8;"><strong>{{ accountUser.fullName }}</strong></h4>
            <div class="page-detail">Account Type: <span>{{ accountUser.accountUserType.description|default('') }}</span></div>
        </div>
    </div>
</div>