]> git.parisson.com Git - telemeta.git/commitdiff
no redirect after lang select
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 31 May 2016 15:10:43 +0000 (17:10 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 31 May 2016 15:10:43 +0000 (17:10 +0200)
telemeta/templates/telemeta/base.html

index 7ead664893ec571d93bbfc33b7dbd6a483744d82..c2d45e916aa630c75fba93a330839eb962778bb4 100644 (file)
                         </ul>
                         <form id="formlang" action="/i18n/setlang/" method="post" style="display:inline-block;" onchange='this.submit();'>
                             {% csrf_token %}
-                            <input name="next" type="hidden" value="{% url 'telemeta-home' %}"/>
                             <select name="language" style="color:#6a0307">
                                 {% for lang in LANGUAGES %}
                                     <option value="{{ lang.0 }}" {% if lang.0|slice:"2" == LANGUAGE_CODE|slice:"2" %}selected="selected"{% endif %}>{{ lang.1 }}</option>