Sha256: 89e7837ae4e0cf4243d91d084d6d2525fbb35dfe8ccaa3caf2d0bdebb6049e1c
Contents?: true
Size: 1.37 KB
Versions: 83
Compression:
Stored size: 1.37 KB
Contents
= render_region :top %h1 Sites %table.index.tablesaw %thead %tr - render_region :thead do |thead| - thead.title_header do %th.site Name - thead.domain_header do %th.domain Domain match - thead.basedomain_header do %th.basedomain Base domain - thead.modify_header do %th.remove Delete - thead.order_header do %th.order Order %tbody - @sites.each do |site| %tr.node.level-1 - render_region :tbody do |tbody| - tbody.title_cell do %td.site = link_to site.name, edit_admin_site_path(site) - tbody.domain_cell do %td.domain = h(site.domain) - tbody.basedomain_cell do %td.basedomain = h(site.base_domain) - tbody.modify_cell do %td.remove = link_to admin_site_path(site), :method => :delete, :onclick => "return confirm('Are you sure you want to permanently remove #{site.name}?')" do %i.fas.fa-minus-circle = t('remove') - tbody.order_cell do %td.order = order_links(site).html_safe - render_region :bottom do |bottom| - bottom.new_button do .page-actions = link_to new_admin_site_path, class: 'action_button' do %i.fas.fa-plus-circle New Site
Version data entries
83 entries across 83 versions & 1 rubygems