Sha256: 42320b87b15186280217dc59dbde202eec3a0d8a104f8746d38d271076811a3e

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

<tr id="tr_<%= model.id %>" data-depth="<%= model.depth_str %>" data-controller="show" data-action="mouseenter->show#show mouseleave->show#hide">
  <%= yield %>
  <td>
    <span data-show-target="item" style="visibility: hidden">
      <%= link_to({ controller: 'organ_domains', organ_id: model.id }, aria: { label: t('org.admin.organ_domains.index.title') }, class: 'button is-small is-rounded is-light') do %>
        <i class="fas fa-mobile"></i>
      <% end %>
      <%= link_to({ action: 'edit', id: model.id }, data: { turbo_frame: 'modal' }, aria: { label: t('.edit') }, class: 'button is-small is-rounded is-light') do %>
        <i class="fas fa-pencil-alt"></i>
      <% end %>
      <%= button_to({ action: 'destroy', id: model.id }, method: :delete, data: { confirm: t('.confirm') }, aria: { label: t('.destroy') }, class: 'button is-small is-rounded is-light') do %>
        <i class="fas fa-trash-alt"></i>
      <% end %>
      <%= link_to admin_current_organ_url(host: model.host), aria: { label: t('.mock') }, class: 'button is-small is-rounded is-light' do %>
        <i class="fas fa-hand-point-right"></i>
      <% end %>
    </span>
  </td>
</tr>
<% model.children.each do |child| %>
  <%= render partial: 'index_tbody', layout: 'index_tr', locals: { model: child, display: 'table-row' } %>
<% end unless model == current_organ %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_org-0.0.1 app/views/org/admin/organs/_index_tr.html.erb