Adding token and current timestamp to html.

This commit is contained in:
2017-09-05 08:54:32 +07:00
parent 06c4e2a74e
commit 45dbe24da7
3 changed files with 17 additions and 6 deletions

View File

@@ -19,13 +19,15 @@
<textarea name="konten" rows="3" cols="30"></textarea>
<!-- Current Timestamp -->
<input type="hidden" name="_currts" value="##CURRENT_TIMESTAMP##">
<input type="hidden" name="_currts" value={{ timestamp }}>
<!-- Method -->
<input type="hidden" name="_method" value="post">
<!-- Token -->
<input type="hidden" name="_token" value="##TOKEN##">
<input type="hidden" name="_token" value={{ token }}>
<br>
<button type="submit" name="entry">Entry</button>
</form>