diff --git a/index.html b/index.html
index 51358a4..c85f6d2 100644
--- a/index.html
+++ b/index.html
@@ -127,6 +127,7 @@ input[type=file]{display:none}
@@ -335,6 +336,7 @@ function registerProfile() {
name,
sport: document.getElementById('regSport').value.trim(),
age: document.getElementById('regAge').value,
+ birth: document.getElementById('regBirth').value,
club: document.getElementById('regClub').value.trim(),
city: document.getElementById('regCity').value.trim(),
coach: document.getElementById('regCoach').value.trim(),
@@ -348,7 +350,7 @@ function registerProfile() {
profiles.push(profile);
SS('profiles', profiles);
// Clear form
- ['regName','regSport','regAge','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = '');
+ ['regName','regSport','regAge','regBirth','regClub','regCity','regCoach','regRank','regGoal'].forEach(id => document.getElementById(id).value = '');
document.getElementById('regPhotoPreview').style.display = 'none';
loginProfile(profile.id);
}
@@ -402,7 +404,7 @@ function renderProfileList() {
${p.photo ? `

` : p.name.charAt(0).toUpperCase()}
${p.name}
-
${[p.sport, p.club, p.age ? p.age+' лет' : '', p.rank].filter(Boolean).join(' · ')}
+
${[p.sport, p.club, p.age ? p.age+' лет' : '', p.birth ? '🎂 '+p.birth : '', p.rank].filter(Boolean).join(' · ')}