.page-header = link_to t('.new_link'), new_cms_admin_site_path, :class => 'btn pull-right' %h2= t('.title') = render 'cms_admin/partials/sites_before' %table.table.table-hover.table-bordered - @sites.each do |site| %tr %td .icon %td.main .item-title = link_to site.label, cms_admin_site_pages_path(site) .item-meta .identifier = site.identifier = "(#{site.locale})" .host - host = "http://#{site.hostname}/#{site.path}" = link_to host, host, :target => '_blank' %td .btn-group = link_to t('.select'), cms_admin_site_pages_path(site), :class => 'btn btn-small' = link_to t('.edit'), edit_cms_admin_site_path(site), :class => 'btn btn-small' = link_to t('.delete'), cms_admin_site_path(site), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger' = render 'cms_admin/partials/sites_after'