What This Screen Does
This is where you change the scheduling and planning settings for an existing class template. Think of a class template as a blueprint for a recurring class (like “Monday Morning Yoga”). The planning section controls when and how that class is scheduled — things like start times, opt-out windows, and recurrence. Once you save your changes, every future class created from this template will use the updated planning rules.
How to Get There
Open the dashboard.
In the left-hand menu, click Class template.
Find the template you want to edit in the list.
Click on the template to open it, then navigate to the planning edit view.
You are now on the Edit Planning screen.
Step-by-Step Guide
1. Review the Breadcrumbs
At the top of the page you will see a breadcrumb trail: Dashboard → Class template → [Template Name].
This confirms you are editing the correct template.
You can click Dashboard or Class template to navigate back at any time.
2. Fill In the Details Fields
Because the planning view shares the same form as the full edit screen, you will first see the details section of the template. These fields carry over from the template’s core information:
Field | Required | What to Enter |
Title | Yes | The name of the class template (e.g. “Morning Yoga”). |
Images | No | Upload one or more background images for this class. Accepts common image formats (JPEG, PNG). |
Note: The details fields are submitted together with the planning fields when you save. Make sure both sections are filled in correctly.
3. Configure Planning Settings
Below the details section, you will find the planning fields. These control the scheduling behaviour of the template:
Field | Required | What to Enter |
Begins | Yes | The date and/or time when this class template becomes active. Pick a value from the date picker. |
Opt-Out Time (Hours) | No | The number of hours before a class starts that members can still cancel. Set to 0 if you do not want an opt-out window. |
Opt-Out Time (Minutes) | No | The number of minutes (in addition to hours) before a class starts that members can still cancel. |
Change Opt-Out Time | No | A toggle or checkbox that enables custom opt-out time settings. When turned off, the system uses the default opt-out policy. When turned on, the hours and minutes fields above are applied. |
4. Save Changes
Click the Save Changes button at the bottom-right of the form.
The system will:
Validate all fields in both the details and planning sections.
Send your updated planning data to the server.
Upload any new background images (if you added or changed them).
Redirect you back to the class templates list.
You will see a green “Update success!” notification at the bottom of the screen.
What Happens Behind the Scenes
You click "Save Changes"
|
v
Form validates all details and planning fields
|
v
API call: ClassTemplatesService.edit({ id, body: { ...detailsValues, ...planningValues } })
|
v
Template record is updated on the server
|
v
(If images were added or changed)
API call: ClassTemplatesService.setBackgroundImage({ id, files: [images] })
|
v
Success notification "Update success!" appears
|
v
You are redirected to /class-templates (the templates list)
Troubleshooting
“I clicked Save Changes but nothing happened”
Make sure all required fields are filled in. The form will not submit if any required field is empty or invalid.
Look for small red error messages below individual fields — they tell you exactly what needs to be fixed.
Check both the details section and the planning section. A missing field in either section will prevent saving.
“I see a red error alert at the top of the page”
This means the server rejected your changes. Read the error message carefully — it usually explains what went wrong.
Common causes include: invalid date format, conflicting schedule settings, or a server timeout.
Try correcting the mentioned issue and saving again. If the error persists, contact your administrator.
“The page is blank or the form fields are empty”
The template data is loaded from the server when the page opens. If your internet connection is slow or interrupted, the data may not have arrived yet.
Try refreshing the page.
If the problem continues, go back to the class templates list and click on the template again.
Make sure the template ID in the URL is correct — an invalid ID will result in an empty form.
“My opt-out time settings are not being saved”
Make sure the Change Opt-Out Time option is enabled. If it is turned off, the system ignores the hours and minutes values and uses the default opt-out policy instead.
If you set both hours and minutes to 0, the system may treat this as “no custom opt-out time.” Set at least one value greater than 0.
“My background image did not upload”
The image must be in a supported format (JPEG or PNG).
If the template was updated but the image failed, go back to the edit screen and try uploading the image again.
Very large files may time out. Try compressing the image or using a smaller file.
“I cannot find the template I want to edit”
Go back to the Class template list and use the search or filter options to find it.
Make sure you are looking at the correct gym/location — templates are tied to specific locations.
If the template was recently deleted by another user, it will no longer appear in the list.
“The page shows the wrong template name in the breadcrumbs”
The breadcrumb displays the title of the currently loaded template. If it looks wrong, you may have opened the wrong template.
Check the URL — the number after
/class-templates/is the template ID. Compare it with the template you intended to edit.Navigate back to the class templates list and select the correct one.
“I get a network error when saving”
Check your internet connection and try again.
If you are on a slow or unstable connection, wait a moment and click Save Changes once more.
Do not click the button multiple times in rapid succession — this can cause duplicate requests. The button shows a loading spinner while the request is in progress.
