Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Commit

Permalink
Replace deprecated csrf_token attribute with hidden_tag method
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalgill committed Oct 26, 2010
1 parent 20d47ca commit 5dde1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/templates/new_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block content %}
<h1 id="">Add a New Example</h1>
<form action="{{ url_for('new_example') }}" method="post" accept-charset="utf-8">
{{ form.csrf_token }}
{{ form.hidden_tag() }}
<p>
<label for="example_id">{{ form.example_id.label }}</label><br />
{{ form.example_id|safe }}<br />
Expand Down

0 comments on commit 5dde1a2

Please sign in to comment.