Set current locale as HTML language in all layouts

The same way it's done in the application layout. Not doing so causes
accessibility issues affecting screen reader users.
This commit is contained in:
Javi Martín
2019-07-10 14:06:03 +02:00
parent 3012df29e7
commit 025923ac4e
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="es">
<html lang="<%= I18n.locale %>">
<head>
<%= render "layouts/common_head", default_title: "Admin" %>