Files
nairobi/app/views/layouts/devise.html.erb
Javi Martín 025923ac4e 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.
2019-10-25 15:34:40 +02:00

40 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<%= render "layouts/common_head", default_title: "Gobierno abierto" %>
<%= render "layouts/meta_tags" %>
<%= raw setting["html.per_page_code_head"] %>
</head>
<body class="auth-page">
<%= raw setting["html.per_page_code_body"] %>
<div class="wrapper">
<div class="auth-image small-12 medium-3 column">
<h1 class="logo margin">
<%= link_to root_path do %>
<%= image_tag(image_path_for("logo_header.png"), class: "float-left", alt: t("layouts.header.logo")) %>
<% end %>
</h1>
</div>
<div class="small-12 medium-9 column">
<div class="row">
<div class="small-12 medium-9 large-7 small-centered column">
<div class="auth-form margin">
<%= render "layouts/flash" %>
<%= yield %>
</div>
</div>
</div>
</div>
<div class="push"></div>
</div>
<div class="footer">
<%= render "layouts/footer" %>
</div>
</body>
</html>