From 4b1717fe0676cfee88a1bbfab5bbfac162e59eae Mon Sep 17 00:00:00 2001 From: Tilumca Date: Thu, 15 Oct 2026 00:47:15 +0200 Subject: [PATCH] App: linia oddzielajaca sekcje 'Adres' w formularzu edycji (uklad jak w adminie) --- app/src/pages/gyms/GymSections.tsx | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/app/src/pages/gyms/GymSections.tsx b/app/src/pages/gyms/GymSections.tsx index 84639bc..82f00d4 100644 --- a/app/src/pages/gyms/GymSections.tsx +++ b/app/src/pages/gyms/GymSections.tsx @@ -9,7 +9,16 @@ import { } from '../../api/queries'; import type { Availability, Gym } from '../../api/types'; import { formatEquipmentSpec, formatGymEquipment } from '../../lib/equipment'; -import { Button, Chip, Field, Input, Loading, SectionHeader, Select } from '../../components/ui'; +import { + Button, + Chip, + Field, + H3, + Input, + Loading, + SectionHeader, + Select, +} from '../../components/ui'; import { useToast } from '../../components/toast'; import { AvailabilityEditor } from '../../components/AvailabilityEditor'; import { @@ -87,9 +96,14 @@ export function GymEditForm({ gym, onSaved }: { gym: Gym; onSaved: () => void }) {isReal && ( -
- setForm({ ...form, ...patch })} /> -
+ <> +
+

Adres

+
+
+ setForm({ ...form, ...patch })} /> +
+ )} {gym.kind === 'VIRTUAL' && (