ViewActivate
Overview
View that renders a confirmation form for the activate action via ModelActionForm, then sends a PATCH request to the activate endpoint when the user confirms. Contributes its title to the layout's PageTitle display via usePageTitle and teleports its "Go Back" action into the title action zone via PageActions, matching sibling action-router views (ViewAction, ViewExecuteTransition, ViewHistoryList).
Theme entry: ViewActivate
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| app | string | yes | Django app label that owns the model. | |
| model | string | yes | Django model name whose instances will be activated. | |
| pk | string|array | yes | Primary key or array of primary keys identifying the instances to activate. | |
| title | string | undefined | Page title override; defaults to "Activate {Model}". |
Slots
return-button
Scoped slot.
Bindings
| Name | Description |
|---|---|
| label |
Source
client/lib/views/ViewActivate.vue