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

16 lines
775 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">
2014-10-02 11:54:54 +00:00
<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>
2014-07-02 06:25:50 +00:00
</ul>
</div>
</td>
<td><%= experience.department %></td>
<td><%= experience.job_title %></td>
</tr>
<% end %>