Call the twig form_token method in the value of the input.

pull/253/head
Levi 2016-01-30 15:16:45 -05:00
parent 616f61eb7a
commit 4c736b6843
2 changed files with 2 additions and 0 deletions

View File

@ -68,4 +68,5 @@
</div>
</div>
</fieldset>
<input type="hidden" name="token" value="{{ form_token() }}" />
</form>

View File

@ -79,4 +79,5 @@
<button class="btn" onclick="history.back();return false;" >{{ label_go_back }}</button>
</div>
</fieldset>
<input type="hidden" name="token" value="{{ form_token() }}" />
</form>