瀏覽代碼

Remove i18n form

Danilo Gómez Gómez 5 年之前
父節點
當前提交
36bb499cf9
共有 1 個文件被更改,包括 1 次插入13 次删除
  1. 1 13
      layout/_base.html

+ 1 - 13
layout/_base.html

@@ -102,19 +102,7 @@
 			</div>
 		</div>
 	</footer>
-
-	<form name="setLangEnglish" action="/i18n/setlang/" method="POST">
-		{# {% csrf_token %} #}
-		<input name="next" type="hidden" value="{{ path }}"/>
-		<input type="hidden" name="language" value="en"/>
-	</form>
-
-	<form name="setLangSpanish" action="/i18n/setlang/" method="POST">
-		{# {% csrf_token %} #}
-		<input name="next" type="hidden" value="{{ path }}"/>
-		<input type="hidden" name="language" value="es"/>
-	</form>
-  <dialog class="hidden" id="dialog-image-modal" data-work="" data-variant="">
+	<dialog class="hidden" id="dialog-image-modal" data-work="" data-variant="">
 		<div id="modal-image-container" class="vbox">
 			<div class="hbox">
 				<div id="img-prev">{{ 'prev' | svg }}</div>