Sha256: 69550c479c9fd7f6744094ccc809d249bf1c369b9cf00951fd4b26a81f1f86d0

Contents?: true

Size: 845 Bytes

Versions: 14

Compression:

Stored size: 845 Bytes

Contents

<!DOCTYPE html>
<html lang="<%= Tolk::Locale.primary_locale_name %>">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>Tolk</title>
  <%= stylesheet_link_tag "tolk/application" %>
  <%= yield :head %>
</head>

<body>
  <div class="container">

    <header>
      <h1>
        <%= link_to "Tolk", root_path %>
        <% if defined?(@locale) && @locale.present? %>
          / <%= link_to @locale.language_name, locale_path(@locale) %>
        <% end %>
      </h1>
      <% if action_name == 'index' %>
        <%= button_to "Apply Changes", dump_all_locales_path, method: :post, class: "btn btn--large" %>
      <% end %>
    </header>
    <main>
      <%= yield %>
    </main>
  </div>

  <%= javascript_include_tag "tolk/libraries" %>
  <%= javascript_include_tag "tolk/application" %>
</body>
</html>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tolk-6.0.0 app/views/layouts/tolk/application.html.erb
tolk-6.0.0.alpha1 app/views/layouts/tolk/application.html.erb
tolk-5.0.2 app/views/layouts/tolk/application.html.erb
tolk-5.0.1 app/views/layouts/tolk/application.html.erb
tolk-5.0.0 app/views/layouts/tolk/application.html.erb
tolk-4.3.0 app/views/layouts/tolk/application.html.erb
tolk-4.2.0 app/views/layouts/tolk/application.html.erb
tolk-4.1.1 app/views/layouts/tolk/application.html.erb
tolk-4.1.0 app/views/layouts/tolk/application.html.erb
tolk-4.0.1 app/views/layouts/tolk/application.html.erb
tolk-4.0.0 app/views/layouts/tolk/application.html.erb
tolk-3.2.1 app/views/layouts/tolk/application.html.erb
tolk-3.2.0 app/views/layouts/tolk/application.html.erb
tolk-3.1.0 app/views/layouts/tolk/application.html.erb