Created
December 6, 2019 17:11
-
-
Save foxcarlos/e9f69ae77c9a850523f7549421ce57bc to your computer and use it in GitHub Desktop.
Uso de csrf_token en un form odoo template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="/guia" method="get" > | |
<!--<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>--> | |
<input type="hidden"/> | |
<div class="input-group"> | |
<input type="text" name="search" class="search form-control" placeholder="Enter name to search" /> | |
<div class="input-group-btn input-group-lg input-group-md"> | |
<button type="submit" style="background-color:#9CB96A;" class="btn"> | |
Search | |
</button> | |
</div> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment