<!DOCTYPE html>
{% extends "base.html" %}
{% block content %}

		<div style="overflow-x:auto;">
    <table>
        <tr>
            <th>User ID</th>
            <th>UserName</th>
            <th>User Email</th>
            <th>User Website</th>
            <th>Is Member</th>
            <th>Actions</th>
        </tr>
        {% for user in parsed_users %}
            <tr>
                <td>{{ user.id }}</td>
                <td>{{ user.username }}</td>
                <td>{{ user.email }}</td>
                <td>
                    <a href="{{ user.url }}">link</a>
                </td>
                <td>{{ user.is_member }}</td>
                <td>
                    <form method="post">
                        {% csrf_token %}
                        <a href="{% url 'admin:web_customuser_change' user.id %}">
                            <button type="button">View Details</button>
                        </a>
                        <button type="submit" value="{{ user.id }}" name='make_member'>Make Member</button>
                    </form>
                </td>
            </tr>
        {% endfor %}
    </table>
		</div>
{% endblock %}
