細 「Form:Festival」を保護しました: 本番フォームを管理者のみ編集可能に設定 ([編集=管理者のみ許可] (無期限) [移動=管理者のみ許可] (無期限)) |
新規祭りフォームに都道府県と市区町村の任意選択を追加 |
||
| 73行目: | 73行目: | ||
<div class="festival-form-help"> | <div class="festival-form-help"> | ||
複数ある場合は、それぞれ別の候補として入力します。 | 複数ある場合は、それぞれ別の候補として入力します。 | ||
</div> | |||
|- | |||
! 都道府県(任意) | |||
| {{{field|prefecture_area_id | |||
|input type=combobox | |||
|autocomplete | |||
|existing values only | |||
|cargo table=Areas | |||
|cargo field=area_id | |||
|cargo where=area_type='prefecture' | |||
|mapping cargo table=Areas | |||
|mapping cargo field=name | |||
|mapping cargo value field=area_id | |||
|placeholder=例:大阪府 | |||
}}} | |||
<div class="festival-form-help"> | |||
選択すると、祭りページの地域欄とパンくずに表示されます。地域が確認できない場合は空欄にしてください。 | |||
</div> | |||
|- | |||
! 主な市区町村(任意) | |||
| {{{field|municipality_area_id | |||
|input type=combobox | |||
|autocomplete | |||
|existing values only | |||
|cargo table=Areas | |||
|cargo field=area_id | |||
|cargo where=area_type IN ('city','special_ward','ward','town','village') | |||
|mapping cargo table=Areas | |||
|mapping cargo field=name | |||
|mapping cargo value field=area_id | |||
|placeholder=例:堺市 | |||
}}} | |||
<div class="festival-form-help"> | |||
祭りの主な開催地域を選びます。複数の市区町村にまたがる場合は、主な地域だけ選択してください。分からない場合は空欄で構いません。 | |||
</div> | </div> | ||
2026年10月8日 (木) 17:56時点における最新版