<div class="content-detail-container">
    <div class="text-right">
        {% if userData.type == 'Super Admin' or 'Admin Provider Update' in userData.accesses %}
            <a class="href-new-action" href="{{ path('provider_form', {action: 'u', 'id': provider.idencoded}) }}" title="Update Provider"><i class="fa fa-edit"></i></a>
        {% endif %}
    </div>
    <div class="row max-width-initial">
        <div class="large-4 columns">
            <div class="page-detail">Type: <span>{{ provider.providerType.description|default('') }}</span></div>
            <div class="page-detail">Name: <span>{{ provider.fullName|default('') }}</span></div>
            <div class="page-detail">Gender: <span>{{ provider.gender|default('') }}</span></div>
            <div class="page-detail">Address: <span>{{ provider.address|default('') }}</span></div>
            <div class="page-detail">Emergency Name: <span>{{ provider.emergencyContactName|default('') }}</span></div>
            <div class="page-detail">Emergency Contact: <span>{{ provider.emergencyContactNo|default('') }}</span></div>
        </div>
    </div>
</div>