Skip to content

Commit

Permalink
template markup fix: csrf moved to start of form
Browse files Browse the repository at this point in the history
<input> should not be a child of <tr>, regardless if type="hidden" or not
  • Loading branch information
pajod committed Oct 4, 2015
1 parent cd8be75 commit 28e2736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosetta/templates/rosetta/pofile.html
Expand Up @@ -58,10 +58,10 @@ <h1>{% blocktrans %}Translate into {{rosetta_i18n_lang_name}}{% endblocktrans %
</div>

<form method="post" action="">
{% rosetta_csrf_token %}
<table>
<thead>
<tr>
{% rosetta_csrf_token %}
<th><div class="text">{% trans "Original" %}</div></th>
{% if main_language %}<th>{{ main_language }}</th>{% endif %}
<th>{{ rosetta_i18n_lang_name }}</th>
Expand Down

0 comments on commit 28e2736

Please sign in to comment.