From 9cce84fc5eab2150797e4cf44b8a3d85bed8ce0c Mon Sep 17 00:00:00 2001
From: Tilumca
Date: Thu, 15 Oct 2026 00:56:09 +0200
Subject: [PATCH] UI: usuniecie etykiet 'Adres'/'Dostepnosc' w formularzach
edycji silowni - zostaja same linie (app+admin)
---
admin/src/pages/gyms/GymDetail.tsx | 18 +++++++-----------
app/src/pages/gyms/GymSections.tsx | 18 +++++++-----------
2 files changed, 14 insertions(+), 22 deletions(-)
diff --git a/admin/src/pages/gyms/GymDetail.tsx b/admin/src/pages/gyms/GymDetail.tsx
index 714c3d1..6ba1a8a 100644
--- a/admin/src/pages/gyms/GymDetail.tsx
+++ b/admin/src/pages/gyms/GymDetail.tsx
@@ -35,7 +35,6 @@ import {
ConfirmDialog,
ErrorText,
Field,
- H3,
Input,
Loading,
Modal,
@@ -372,9 +371,7 @@ function GymEditForm({ gym, onSaved }: { gym: Gym; onSaved: () => void }) {
/>
-
-
Adres
-
+
setForm({ ...form, ...patch })} />
@@ -384,13 +381,12 @@ function GymEditForm({ gym, onSaved }: { gym: Gym; onSaved: () => void }) {
strukturalnym.
)}
-
-
- setForm({ ...form, availability })}
- />
-
+
+
+
setForm({ ...form, availability })}
+ />
{error &&
{error} }
{saved && !error &&
Zapisano zmiany. }
diff --git a/app/src/pages/gyms/GymSections.tsx b/app/src/pages/gyms/GymSections.tsx
index aa680f1..5cd0538 100644
--- a/app/src/pages/gyms/GymSections.tsx
+++ b/app/src/pages/gyms/GymSections.tsx
@@ -13,7 +13,6 @@ import {
Button,
Chip,
Field,
- H3,
Input,
Loading,
SectionHeader,
@@ -97,9 +96,7 @@ export function GymEditForm({ gym, onSaved }: { gym: Gym; onSaved: () => void })
{isReal && (
<>
-
-
Adres
-
+
setForm({ ...form, ...patch })} />
@@ -116,13 +113,12 @@ export function GymEditForm({ gym, onSaved }: { gym: Gym; onSaved: () => void })
Prywatna (ukryta przed innymi — dostęp tylko po zaproszeniu)
)}
-
-
- setForm({ ...form, availability })}
- />
-
+
+
+
setForm({ ...form, availability })}
+ />
{busy ? 'Zapisywanie…' : 'Zapisz'}