Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

csrf_field

A helper to output the CSRF token inside a hidden field named _token from the session.

POST requests in Statamic will be keeping an eye out for a _token value.

{{ csrf_field }}
{!! $csrf_field !!}
 
-- or --
{!! csrf_field() !!}
<input type="hidden" name="_token" value="csrftokenhere" />
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →