<!DOCTYPE html>
<html lang="es">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <title><%= content_for?(:title) ? yield(:title) : "Participación" %></title>
        <%= stylesheet_link_tag    "application" %>
        <%= javascript_include_tag "vendor/modernizr" %>
        <%= javascript_include_tag "application", 'data-turbolinks-track' => true %>
        <%= csrf_meta_tags %>
        <script src="https://www.google.com/recaptcha/api.js?hl=<%= I18n.locale %>"></script>
    </head>
  <body>

    <%= render 'layouts/header' %>

    <% if notice %>
        <p class="alert-box success"><%= notice %></p>
    <% end %>

    <% if alert %>
        <p class="alert-box"><%= alert %></p>
    <% end %>

    <%= yield %>

    <%= render 'layouts/footer' %>
  </body>
</html>