Files
sm-bm-plugin/models/class_sessions/fields_course.yaml
Jakub Zych 71b848a376 Adopt SummerCMS v0.1.1 admin features
Datepickers on native time.Time / lagoon.Date fields, file uploads on
materials, readings and class sessions managed from the course form
(course_id made nullable).
2026-10-03 06:03:34 +02:00

37 lines
976 B
YAML

# The class session form inside the course form's relation manager: the
# course is the parent, and a relation form has no relation pickers, so the
# meeting (zjazd) is set on the class sessions screen.
fields:
starts_at:
label: jz.bm::lang.sessions.starts_at
type: datepicker
mode: datetime
format: d.m.Y H:i
firstDay: 1
span: left
required: true
ends_at:
label: jz.bm::lang.sessions.ends_at
type: datepicker
mode: datetime
format: d.m.Y H:i
firstDay: 1
span: right
required: true
room:
label: jz.bm::lang.sessions.room
type: text
span: left
kind:
label: jz.bm::lang.sessions.kind
type: text
span: right
is_online:
label: jz.bm::lang.sessions.is_online
type: switch
span: left
notes:
label: jz.bm::lang.common.notes
type: textarea
size: small