Sha256: db605f5f7ab49353da1d10dcce60182029ab7f0558f52ab4808d5b525e102d1d
Contents?: true
Size: 468 Bytes
Versions: 39
Compression:
Stored size: 468 Bytes
Contents
<% css_classes = [options[:page] == page ? "active" : nil] %> <% if page == pages.first %> <% css_classes << "first" %> <% elsif page == pages.last %> <% css_classes << "last" %> <% end %> <%= link_to_unless( !options[:link_active_page] && options[:page] == page, h(page.name), show_alchemy_page_path(page), class: css_classes.compact.join(" "), title: page.title ) do |name, url, html_options| %> <%= content_tag :span, name, html_options %> <% end %>
Version data entries
39 entries across 39 versions & 1 rubygems