">
                        <button type="submit" class="btn btn-primary w-100">
                            <i class="fas fa-check me-2"></i>{{ _('Activate Client') }}
                        </button>
                    </form>
                    {% endif %}
                    
                    {% if client.total_projects == 0 %}
                    <form method="POST" action="{{ url_for('clients.delete_client', client_id=client.id) }}" data-confirm="{{ _('Are you sure you want to delete this client?