<% content_for :page_header do %>

<%= @model_info.item_name %>

<% end %> <% content_for :nav_buttons do %><% new_uri = admin_new_uri(@model_info) if new_uri concat link_to t('rademade_admin.new_record') + '+', new_uri, :class => 'btn yellow-btn fl-l' end end %> <% content_for :content do %><% concat render @template_service.on_page_select_block if @sortable_service.can_reset? %><%= t('rademade_admin.reset_sort') %><% end %><% concat render @template_service.table_head_block, { :list_fields => @list_fields } has_position = @sortable_service.has_position? %><% @items.each do |item| %> data-position="<%= item.position %>"<% end %>><% @list_fields.each do |field| %><% end %><% end %>
<%= display_item_value(item, field) %> <% concat render 'rademade_admin/_blocks/button/edit', { :item => item } %>
<% concat button_to t('rademade_admin.destroy'), admin_delete_uri(item), { :method => :delete, :form => { :class => 'delete-item-form' } } %>
<% concat render @template_service.pagination_block end concat render :template => @template_service.inner_layout %>