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

16 lines
800 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>
<%= link_to experience.organizationt_title, '', target: "blank"%>
<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 %>