<%= t('camaleon_cms.admin.table.id') %> |
<%= t('camaleon_cms.admin.table.slug') %> |
<%= t('camaleon_cms.admin.table.group_name') %> |
<%= t('camaleon_cms.admin.table.description') %> |
<%= t('camaleon_cms.admin.table.display_objects') %> |
<%= t('camaleon_cms.admin.table.actions') %> |
<% @field_groups.each do |f| %>
<%= f.id %> |
<%= f.slug %> |
<%= f.name %> |
<%= f.description %> |
<%= link_to(raw(f.get_caption), {action: :index, c: f.object_class, id: f.objectid}) %> |
<%= link_to raw(''), {action: :edit, id: f.id }, class: "btn btn-default btn-xs cama_ajax_request", title: "#{t('camaleon_cms.admin.button.edit')}" %>
<%= link_to raw(''), { action: :destroy, id: f.id },
method: :delete, data: { confirm: t('camaleon_cms.admin.message.delete_item') }, class: "btn btn-danger btn-xs cama_ajax_request", title: "#{t('camaleon_cms.admin.button.delete')}" %>
|
<% end %>
<%= content_tag("div", raw(t('camaleon_cms.admin.message.data_found_list')), class: "alert alert-warning") if @field_groups.empty? %>
<%= raw cama_do_pagination(@field_groups) %>