chore: rename address to building location

This commit is contained in:
2025-06-04 23:35:02 +01:00
parent c1de092525
commit b49f937dcb
5 changed files with 12 additions and 11 deletions

View File

@@ -14,7 +14,7 @@
let spaceImg = $state<FileList>();
let studySpaceData = $state<Omit<Table<"study_spaces">, "id" | "created_at" | "updated_at">>({
description: "",
building_address: "",
building_location: "",
location: ""
});
@@ -81,16 +81,16 @@
<Textarea
name="description"
bind:value={studySpaceData.description}
placeholder="A quiet, but small study space..."
placeholder="A quiet and well-lit, but small space..."
rows={5}
required
/>
<label for="address">Add an address:</label>
<label for="building-location">Add the building location:</label>
<Text
name="address"
bind:value={studySpaceData.building_address}
placeholder="180 Queen's Gate, London, SW7 5HF"
name="building-location"
bind:value={studySpaceData.building_location}
placeholder="Huxley Building, Imperial South Kensington Campus"
required
/>