Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions docs/1-essentials/02-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,6 @@ Besides components that you may create yourself, Tempest provides a default set

<dim>│</dim> <em>Select which view components you want to install</em>
<dim>│</dim> / <dim>Filter...</dim>
<dim>│</dim> → ⋅ x-csrf-token
<dim>│</dim> ⋅ x-markdown
<dim>│</dim> ⋅ x-input
<dim>│</dim> ⋅ x-icon
Expand All @@ -758,7 +757,7 @@ A base template you can install into your own project as a starting point. This

### `x-form`

This component provides a form element that will post by default and includes the csrf token out of the box:
This component provides a form element that will post by default:

```html
<?php
Expand Down Expand Up @@ -789,16 +788,6 @@ A submit button component that prefills with a "Submit" label:
<x-submit label="Send" />
```

### `x-csrf-token`

Includes the CSRF token in a form

```html
<form action="…">
<x-csrf-token />
</form>
```

### `x-icon`

This component provides the ability to inject any icon from the [Iconify](https://iconify.design/) project in your templates.
Expand Down
12 changes: 1 addition & 11 deletions docs/4-internals/02-view-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ A base template you can install into your own project as a starting point. This

### `x-form`

This component provides a form element that will post by default and includes the csrf token out of the box:
This component provides a form element that will post by default:

```html
<?php
Expand Down Expand Up @@ -500,16 +500,6 @@ A submit button component that prefills with a "Submit" label:
<x-submit label="Send" />
```

### `x-csrf-token`

Includes the CSRF token in a form

```html
<form action="…">
<x-csrf-token />
</form>
```

### `x-icon`

This component provides the ability to inject any icon from the [Iconify](https://iconify.design/) project in your templates.
Expand Down
Loading