Sha256: 6369753b169107867dd0dc72c42caa63a59a032579ee90ac48ec6cdedfb0fcbe
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
<div class="sm:flex sm:items-center"> <div class="sm:flex-auto"> <nav class="flex justify-between items-center"> <ol role="list" class="flex items-center space-x-2"> <li> <%= link_to "Locales", locales_path, class: "text-base font-semibold leading-6 text-indigo-600 hover:text-indigo-900" %> </li> <li> <div class="flex items-center"> <svg class="h-5 w-5 flex-shrink-0 text-gray-900" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"> <path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z" /> </svg> <div class="ml-2 text-base font-semibold leading-6 text-gray-900"><%= @locale.name %></div> </div> </li> </ol> <%= button_to "Deploy locale", locale_deploys_path(@locale), class: "btn btn-primary" %> </nav> <p class="mt-2 text-sm text-gray-700"> Manage translations for this locale. </p> </div> </div> <%= render "rosetta/locales/translations/navigation" %> <div class="mt-4"> <div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg"> <table class="min-w-full divide-y divide-gray-300"> <thead class="bg-gray-50"> <tr class="divide-x divide-gray-200"> <th scope="col" class="w-1/2 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">Translation Key</th> <th scope="col" class="w-1/2 px-3 py-3.5 text-left text-sm font-semibold text-gray-900">Translation</th> </tr> </thead> <tbody class="divide-y divide-gray-200 bg-white"> <%= render( collection: @translation_keys, partial: "rosetta/locales/translations/translation_key") %> </tbody> </table> </div> </div> <div class="mt-4"> <%== pagy_nav(@pagy) %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rosetta-rails-0.1.1 | app/views/rosetta/locales/translations/index.html.erb |