Sha256: 5c8bc3e0de5497b6bfa9753ca20e44e67883a5c749d2c2d5231e989b94d22042

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

<tr id="tr_<%= model.id %>" data-controller="show" data-action="mouseenter->show#show mouseleave->show#hide">
  <%= yield %>
  <td>
    <span data-show-target="item" style="visibility: hidden">
      <%= link_to({ action: 'show', id: model.id }, data: { turbo_frame: 'modal' }, aria: { label: t('.show') }, class: 'button is-small is-rounded is-light') do %>
        <i class="fas fa-info"></i>
      <% end %>
      <%= link_to({ action: 'profile', id: model.id }, data: { turbo_frame: 'modal' }, aria: { label: t('.profile') }, class: 'button is-small is-rounded is-light') do %>
        <i class="fas fa-id-card"></i>
      <% end %>
      <%= link_to({ action: 'edit', id: model }, 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 %>
      <% if model.user_id != current_user.id %>
        <%= link_to mock_admin_member_path(model), method: :patch, aria: { label: t('.mock') }, class: 'button is-small is-rounded is-light' do %>
          <i class="fas fa-hand-point-right"></i>
        <% end %>
      <% end %>
      <%# link_to 'tutorials', admin_tutorials_path(member_id: model.id), class: 'ui mini circular button' %>
    </span>
  </td>
</tr>

Version data entries

1 entries across 1 versions & 1 rubygems

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