Sha256: 62f65808a76f0e9f34c931ba3cfa6fb0d688e0c43e94c2b6556692651eed1a3b

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

<tr class="divide-x divide-gray-200">
  <td class="py-4 pl-4 pr-3 text-sm text-gray-900 sm:pl-6">
    <%= text_entry.content %>
  </td>
  <td class="px-3 py-4 text-sm text-gray-900 group relative">
    <%= turbo_frame_tag dom_id(text_entry) do %>
      <%= text_entry.content_in(@locale) %>

      <div class="hidden group-hover:flex absolute w-full h-full top-0 left-0 bg-indigo-50 bg-opacity-50 pr-4  items-center justify-end">
        <%= link_to "edit", edit_text_entry_translation_path(text_entry, locale_id: @locale.id), class: "text-indigo-600 hover:text-indigo-900 font-medium" %>
      </div>
    <% end %>
  </td>
</tr>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rosetta-rails-0.2.1 app/views/rosetta/text_entries/_text_entry_with_translation.html.erb
rosetta-rails-0.2.0 app/views/rosetta/text_entries/_text_entry_with_translation.html.erb