Training Session

URL

/app/training_sessions/:training_session_id

Screenshot

Structure

training_session.html.liquid
├── _header.html.liquid
├── _training_session_desktop_view.html.liquid
│   ├── _training_session_header.html.liquid
│   ├── _training_session_status.html.liquid
│   ├── _training_session_date.html.liquid
│   ├── _training_session_details.html.liquid
│   ├── _training_session_cta.html.liquid
│       └── _training_session_calendars.html.liquid
│   ├── _training_session_description.html.liquid
│   └── _training_session_more_sessions.html.liquid
│       └── _training_session_session_tile.html.liquid
├── _training_session_mobile_view.html.liquid
│   ├── _training_session_header.html.liquid
│   ├── _training_session_status.html.liquid
│   ├── _training_session_date.html.liquid
│   ├── _training_session_details.html.liquid
│   ├── _training_session_cta.html.liquid
│       └── _training_session_calendars.html.liquid
│   ├── _training_session_description.html.liquid
│   └── _training_session_more_sessions.html.liquid
│       └── _training_session_session_tile.html.liquid
└── _footer.html.liquid

Template Considerations

This template exposes a training_session variable. You can learn about its attributes here: TrainingSession.

Form

The Training Session page uses an HTML form to handle the CTA button. Please make sure you're not overwriting its internals:

  • the action and method attributes on the <form> HTML tag
  • the form_authenticity_token Liquid tag inside the <form> HTML tag
  • the name attribute on the <input> HTML tags