Phase 4 M1: Entry enrichment — location, weather, gallery, hero image
This commit is contained in:
@@ -56,6 +56,26 @@ form:
|
||||
type: text
|
||||
placeholder: ''
|
||||
|
||||
-
|
||||
name: location_city
|
||||
label: City
|
||||
type: text
|
||||
placeholder: 'e.g. Kyoto'
|
||||
|
||||
-
|
||||
name: location_country
|
||||
label: Country
|
||||
type: text
|
||||
placeholder: 'e.g. Japan'
|
||||
|
||||
-
|
||||
name: weather_temp_c
|
||||
type: hidden
|
||||
|
||||
-
|
||||
name: weather_desc
|
||||
type: hidden
|
||||
|
||||
buttons:
|
||||
-
|
||||
type: submit
|
||||
@@ -73,6 +93,10 @@ form:
|
||||
date: '{{ form.value.date }}'
|
||||
lat: '{{ form.value.lat }}'
|
||||
lng: '{{ form.value.lng }}'
|
||||
location_city: '{{ form.value.location_city }}'
|
||||
location_country: '{{ form.value.location_country }}'
|
||||
weather_temp_c: '{{ form.value.weather_temp_c }}'
|
||||
weather_desc: '{{ form.value.weather_desc }}'
|
||||
-
|
||||
message: 'Entry posted successfully!'
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user