personal-experience/app/views/admin/experiences/_experience.html.erb

16 lines
775 B
Plaintext

<% @experiences.each do |experience| %>
<tr id="<%= dom_id experience %>" class="<%= experience.is_hidden ? "checkHide" : "" %>">
<td><%= experience.duration %></td>
<td>
<%= link_to experience.organizationt_title, OrbitHelper.url_to_plugin_show(experience.to_param,'personal_experience'), target: "blank"%>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), edit_admin_experience_path(experience) %></li>
<li><%= link_to t(:delete_), admin_experience_path(id: experience.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
</ul>
</div>
</td>
<td><%= experience.department %></td>
<td><%= experience.job_title %></td>
</tr>
<% end %>