Sha256: 911dcb215987da216455da7766ddeaf2207ae3d1b4942940b6e50352d52cc189
Contents?: true
Size: 619 Bytes
Versions: 8
Compression:
Stored size: 619 Bytes
Contents
<%= table_for @sites do |t| t.column :name, :host, :actions t.row do |r, site| r.cell link_to_show(site.name, site, :class => 'site') r.cell site.host r.cell link_to_show(site, url: "//#{site.host}") + "\n".html_safe + links_to_actions([:edit, :delete], site).html_safe end t.foot.row do |r| r.cell will_paginate(@sites), :class => :pagination, :colspan => :all end t.empty :p, :class => 'empty' do "<p>You currently do not have any sites created.</p>" + "<p>" + link_to("Create one now »", new_admin_site_path) + "</p>" end end %>
Version data entries
8 entries across 8 versions & 1 rubygems