Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

post

An array of sanitized POST variables that come from any form data present for a POST to the current URL. It can be used as a tag pair with access to all your data or as a single tag to access variables directly. A counterpart to {{ get }}.

<form method="post">
<input type="hidden" name="_token" value="csrftokenhere" />
<input type="text" name="first_name" value="Niles">
<input type="text" name="last_name" value="Peppertrout">
<button>Submit</button>
</form>
{{ post }}
{{ first_name }} {{ last_name }}
{{ /post }}
 
Mr. {{ post:last_name }}
Niles Peppertrout
 
Mr. Peppertrout
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →