app/views/admin/designations/_list.html.erb
<thead>
<th width="20%">Taxonomy</th>
<th>Name</th>
<th width="10%">Actions</th>
</thead>
<tbody>
<% collection.each do |designation| -%>
<tr>
<td>
<a href="#" class="editable editable-click editable-required" data-type="select" data-resource="designation" data-name="taxonomy_id"
data-placeholder="Required" data-original-title="Enter the designation's taxonomy" data-source="/admin/taxonomies/"
data-url="<%= resource_url(designation) %>" data-pk="<%= designation.id %>" data-value="<%= designation.taxonomy_id %>">
<%= designation.taxonomy.name %>
</a>
</td>
<td>
<a href="#" class="editable editable-click editable-required" data-type="text" data-resource="designation" data-name="name"
data-placeholder="Required" data-original-title="Enter the designation's name"
data-url="<%= resource_url(designation) %>" data-pk="<%= designation.id %>">
<%= designation.name %>
</a>
</td>
<td>
<%= link_to delete_icon, resource_url(designation), data: { confirm: "Warning: you are about to delete data. Are you sure?" }, :method => :delete %>
</td>
</tr>
<% end -%>
</tbody>