mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-04-29 01:14:42 +00:00
template markup fix: csrf moved to start of form
<input> should not be a child of <tr>, regardless if type="hidden" or not
This commit is contained in:
parent
cd8be75ac5
commit
28e27367ec
1 changed files with 1 additions and 1 deletions
|
|
@ -58,10 +58,10 @@
|
|||
</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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue