Prerequisites
Before creating teams, you must have:Create Municipios (Municipalities)
Teams require an associated municipality. Navigate to Municipios > Create to add municipalities first.
Create Directores Técnicos (Technical Directors)
Each team needs a technical director. Go to DTs > Create to add technical directors.
The application will automatically prompt you to create these prerequisite entities if they don’t exist when you try to create a team.
Creating a New Team
Navigate to the Teams page
From the main navigation menu, select Equipos (Teams) to view the list of existing teams.
Enter team details
Fill in the team information:
- Nombre del Equipo (Team Name): Enter the team name
- Municipio (Municipality): Select from the dropdown
- D.T. (Technical Director): Select from the dropdown
Team Name Validation Rules
The team name must meet the following requirements:- Required: Cannot be empty
- Minimum length: 3 characters
- Maximum length: 50 characters
- Format: Only letters (including accented characters) and numbers are allowed
- Pattern: Cannot contain only numbers
Viewing Teams
The teams list page provides several features:Filter by Municipality
- Use the Filtrar equipos por municipio dropdown at the top of the page
- Select a municipality or choose Ver todos to see all teams
- Click Filtrar to apply the filter
Search by Name
- Use the search box under Busqueda de equipos
- Enter the team name (supports partial matches)
- Click Buscar to search
Team Information Displayed
For each team, you can view:- Id: Unique team identifier
- Nombre del Equipo: Team name
- Municipio: Associated municipality
- Director Técnico: Assigned technical director
- Acciones: Available actions (Detail, Edit, Delete)
Editing a Team
Click 'Editar'
Click the Editar (Edit) button for that team.
This button is only available when you’re logged in.
Update team details
Modify any of the following:
- Team name
- Municipality
- Technical director
Deleting a Team
Teams can only be deleted under specific conditions:Deletion Requirements
No Players
No Players
The team must have zero players associated with it. Remove all players before attempting to delete the team.
No Matches as Home Team
No Matches as Home Team
The team cannot have any matches where it appears as the home team (Local).
No Matches as Away Team
No Matches as Away Team
The team cannot have any matches where it appears as the away team (Visitante).
Authentication Required
Authentication Required
You must be logged in to delete teams.
Delete Process
Verify deletion conditions
Ensure the team meets all deletion requirements listed above. The Eliminar button will be disabled if conditions aren’t met.
Viewing Team Details
To view complete team information:- Click the Detalle (Detail) button for any team
- This displays all team information including related players and matches
- This feature is available to all users (no login required)
Troubleshooting
Error: Team name already exists
Error: Team name already exists
Choose a different team name. Each team must have a unique name.
Cannot create teams - missing prerequisites
Cannot create teams - missing prerequisites
The application will show specific alerts:
- Missing Municipios: Click “Crear Municipios” to create municipalities first
- Missing Technical Directors: Click “Crear Directores Tecnicos” to add directors
- Missing both: Create both entities before proceeding
Edit/Delete buttons are disabled
Edit/Delete buttons are disabled
Cannot delete team
Cannot delete team
The team has associated players or matches. You must:
- Remove or reassign all players from this team
- Delete or modify matches where this team participates
- Then try deleting again
Related Guides
- Managing Players - Add players to your teams
- Scheduling Matches - Create matches between teams
- User Roles and Authentication - Learn about access control