diff --git a/src/templates/forecast.html b/src/templates/forecast.html index 7e88a61..78bfe52 100644 --- a/src/templates/forecast.html +++ b/src/templates/forecast.html @@ -57,12 +57,7 @@

{{ fl("forecast-area-" ~ area) }}

-
- - - {{ language_select() }} - -
+
{{ language_select() }}
{{ forecast_intro( overall_hazard=overall_hazard, diff --git a/src/templates/index.html b/src/templates/index.html index 26fbbda..facafb7 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -53,12 +53,7 @@

{{ fl("no-current-forecast-heading") }}

{{ page_title }}

-
- - - {{ language_select() }} - -
+
{{ language_select() }}
{% if (forecasts | length) == 0 %}

{{ fl("no-forecasts-available-message") }}

diff --git a/src/templates/macros/language_select.html b/src/templates/macros/language_select.html index 589cf9e..f50a841 100644 --- a/src/templates/macros/language_select.html +++ b/src/templates/macros/language_select.html @@ -1,16 +1,18 @@ {% macro language_select() -%} - + + + {%- endmacro %}