Actions
Actions are the buttons that change records. The panel has page actions, which work on the whole list, and row actions, which work on one record.
Page actions
The list page has a New button, which opens an empty form. The form has a Create button on a new record, and Save on an existing one, plus a Cancel link back to the list.
The headings use the record's singular name, such as New Tag on the new page and Edit Tag #3 on the edit page.
Row actions
- Edit opens the record's edit page at
/admin/<slug>/<id>/edit. - Delete posts to
/admin/<slug>/<id>/delete, after a confirmation. The record is then deleted with the resource'sdeletemethod.
Deleting a record
The Delete button asks the browser to confirm with the message Delete this record? This cannot be undone. Cancelling the dialog keeps the record. The confirmation is written in JavaScript: with JavaScript turned off, the delete goes through without asking.
The delete form carries the panel's token. A missing or wrong token shows the Page Expired page, and nothing is deleted.
A delete for an id that matches no row returns 404. On success, the panel returns to the list and shows Record deleted.. See Notifications.
Not built yet
- Bulk actions. There is no way to act on several rows at once.
- Custom actions. A resource cannot add its own buttons in v1.
Ignite