- model_class = SvgElement
- title :index, model_class
- if @svg_elements.any?
  table.table
    thead
      tr
        th= model_class.human_attribute_name(:name)
        th=t 'helpers.actions.title'
    tbody
      - @svg_elements.each do |svg_element|
        tr
          td= link_to svg_element.name, [:edit, :admin, svg_element]
          = edit_td [:admin, svg_element]
- else
  = no_content_given model_class
/= link_to t("helpers.links.new"), new_admin_svg_element_path, class: 'record-new-button'
- content_for :page_links do
  ul
    li= link_to link_to_new_content(SvgElement), main_app.new_admin_svg_element_path, class: 'record-new-button'
