PHP Classes

File: examples/views/Test/token.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro   BladeOne   examples/views/Test/token.blade.php   Download  
File: examples/views/Test/token.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change: Update of examples/views/Test/token.blade.php
Date: 3 years ago
Size: 359 bytes
 

Contents

Class file image Download
<h1>Testing the token {{$token}}</h1>
<form method="post">
    @csrf('_mytoken')
    <input type="text" name="field" value="{{$field}}" /><br/>
    <input type="submit" name="button" value="send"/>

    @if($isValid)
        <hr>Token is valid<hr>
    @else
        <hr><span style="background-color:red">Token ERROR</span><hr>
    @endif()

</form>


</form>