{% extends "layout.html" %}

{% block content %}
<div class="admin-container">
    <h1>Create New Team</h1>
    
    <form method="POST" action="{{ url_for('create_team') }}" class="team-form">
        <div class="form-group">
            <label for="name">Team Name</label>
            <input type="text" id="name" name="name" class="form-control" required>
        </div>
        
        <div class="form-group">
            <label for="description">Description</label>
            <textarea id="description" name="description" class="form-control" rows="3"></textarea>
        </div>
        
        <div class="form-group">
            <button type="submit" class="btn btn-primary">Create Team</button>
            <a href="{{ url_for('admin_teams') }}" class="btn btn-secondary">Cancel</a>
        </div>
    </form>
</div>
{% endblock %}