mirror of
https://github.com/django/django.git
synced 2025-08-15 22:39:11 +00:00
Updated indentation of example template in docs/topics/i18n/translation.txt.
This commit is contained in:
parent
f1635ba433
commit
514b69cb9e
@ -1738,8 +1738,8 @@ Here's example HTML template code:
|
|||||||
.. code-block:: html+django
|
.. code-block:: html+django
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<form action="{% url 'set_language' %}" method="post">
|
|
||||||
{% csrf_token %}
|
<form action="{% url 'set_language' %}" method="post">{% csrf_token %}
|
||||||
<input name="next" type="hidden" value="{{ redirect_to }}" />
|
<input name="next" type="hidden" value="{{ redirect_to }}" />
|
||||||
<select name="language">
|
<select name="language">
|
||||||
{% get_current_language as LANGUAGE_CODE %}
|
{% get_current_language as LANGUAGE_CODE %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user