Skip to content

Commit

Permalink
Merge pull request #217 from avo-hq/feature/add-display-and-form-view…
Browse files Browse the repository at this point in the history
…-types
  • Loading branch information
adrianthedev authored May 30, 2024
2 parents 61b3314 + 9f3ac30 commit 5939e84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/3.0/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ The page where you can edit one resource.
The page where you can create a new resource.
:::

:::option `Display`
`:display` is an alias for the the `Index` and `Show` views where you can display records and their details.
:::

:::option `Form`
`:form` is an alias for the `Edit` and `New` views for creating and editing records.
:::

## Preview

The fields marked with `show_on :preview`, will be show in the [preview field](./fields/preview) popup.
Expand Down

0 comments on commit 5939e84

Please sign in to comment.