chore: rename address to building location
This commit is contained in:
@@ -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
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user