Enhance user experience by implementing password change functionality, adding validation for password strength and matching, and improving error messaging in the change password form.
This commit is contained in:
@@ -17,13 +17,14 @@
|
||||
|
||||
<form action="/redeem/apply/{{ ticket.code }}" method="post">
|
||||
<div class="mb-6">
|
||||
<label for="team_id" class="block text-sm font-medium text-gray-700 mb-2">Select Team to Award Points:</label>
|
||||
<label for="team_id" class="block text-sm font-medium text-gray-700 mb-2">Select Your Team to Award Points:</label>
|
||||
<select name="team_id" id="team_id" required class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-irish-green">
|
||||
<option value="">-- Select a team --</option>
|
||||
{% for team in user_teams %}
|
||||
<option value="{{ team.id }}">{{ team.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<p class="text-sm text-gray-500 mt-1">Only teams you are a member of are shown</p>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="w-full bg-irish-green hover:bg-opacity-90 text-white font-bold py-3 px-4 rounded-md transition">
|
||||
@@ -58,7 +59,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<p class="font-medium">Select Your Team</p>
|
||||
<p class="text-gray-600 text-sm">Choose which team should receive these points.</p>
|
||||
<p class="text-gray-600 text-sm">Choose which of your teams should receive these points.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user