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

16 lines
871 B
Plaintext
Raw Normal View History

2014-07-02 06:25:50 +00:00
<% @experiences.each do |experience| %>
<tr id="<%= dom_id experience %>" class="<%= experience.is_hidden ? "checkHide" : "" %>">
<td><%= experience.duration %></td>
<td>
2014-07-04 04:15:12 +00:00
<%= link_to experience.organizationt_title, OrbitHelper.url_to_plugin_show(experience.to_param,'personal_experience'), target: "blank"%>
2014-07-02 06:25:50 +00:00
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), '/admin/members/'+experience.member_profile.to_param+'/experiences/'+experience.id+'/edit' %></li>
<li><%= link_to t(:delete_), admin_experience_path(id: experience.id, member_profile_id: experience.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
</ul>
</div>
</td>
<td><%= experience.department %></td>
<td><%= experience.job_title %></td>
</tr>
<% end %>