Files
intotheeast-com-content/pages/02.post/post-form.md
T
m038 534b9a96f1 feat: add demo entries with images + fix form upload action
- New demo entry: Arashiyama with single hero image (bamboo.jpg)
- New demo entry: Gyeongbokgung with four gallery images (palace-gate,
  throne-hall, hanok-rooftops, bugaksan)
- post-form.md: add upload: true to process block so filepond photo
  uploads are handled after page creation; simplify list-of-maps to
  flat map (Symfony YAML preserves insertion order)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 00:12:55 +02:00

1.9 KiB

title, template, access, pageconfig, pagefrontmatter, form
title template access pageconfig pagefrontmatter form
New Entry post-form
site.login
true
parent slug_field overwrite_mode
/tracker date,title false
template published
entry true
name action enctype fields novalidate buttons process
new-entry /post multipart/form-data
name label type autofocus validate
title Title text true
required
true
name label type default format validate
date Date & Time datetime now Y-m-d H:i
required
true
name label type rows validate
content What happened today? textarea 10
required
true
name label type multiple destination limit accept
photos Photos (max 4) filepond true @self 4
image/*
name label type placeholder
lat Latitude text tap "Get Location" below
name label type placeholder
lng Longitude text
name label type placeholder
location_city City text e.g. Kyoto
name label type placeholder
location_country Country text e.g. Japan
name type
weather_temp_c hidden
name type
weather_desc hidden
true
type value classes
submit Post Daily btn-post
add_page upload message reset
true true Entry posted successfully! true