Files
gh-christianlouis-leagueledger/app/templates/teams/create_team.html
T
Christian Krakau-Louis 7323c12168 Implement team join request functionality with views and actions
- Added join_requests.html template for displaying pending join requests.
- Created join_team.html template for users to submit join requests.
- Implemented request_processed.html template to show the result of join request processing.
- Developed authentication utilities for user session management.
- Introduced convenience redirects for common URL patterns.
- Established team management routes and actions for creating, editing, and joining teams.
- Added functionality for approving and denying join requests with email notifications.
- Enhanced team views to include user permissions and team member details.
- Implemented utility functions for team-related operations such as calculating total points and team rank.
2025-04-14 17:00:57 +02:00

18 lines
554 B
HTML

<!-- Add this to the form, right before the submit button -->
<div class="mb-6">
<div class="flex items-center">
<input
type="checkbox"
id="is_open"
name="is_open"
class="h-4 w-4 text-irish-green focus:ring-irish-green border-gray-300 rounded"
>
<label for="is_open" class="ml-2 block text-gray-700">
Open Team (anyone can join without approval)
</label>
</div>
<p class="mt-1 text-sm text-gray-500">
If unchecked, users will need to request to join and be approved by a captain.
</p>
</div>