Sha256: b50354c9e29cbb342ae99b2df4110d5c7ee2bf2390310c13b37fd5690394ea6e

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

<div class="mt-6">
  <div class="border-b border-gray-200 flex justify-between items-center">
    <nav class="-mb-px flex space-x-8" aria-label="Tabs">
      <%= tab_link_to "All", locale_translations_path(@locale) %>

      <%= tab_link_to locale_translations_missing_index_path(@locale) do %>
        Missing
        <span class="ml-3 hidden md:inline-block rounded-full px-2.5 py-0.5 text-xs font-medium bg-gray-100 text-gray-900 group-[.active]:bg-indigo-100 group-[.active]:text-indigo-600">
          <%= Rosetta::TranslationKey.where.missing(:translation_in_current_locale).size %>
        </span>
      <% end %>
    </nav>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rosetta-rails-0.1.1 app/views/rosetta/locales/translations/_navigation.html.erb