Sha256: 3b5c6b0d1863a91a994bcf28192ee8d4983da7d0770c8cbef213d6518a82f837

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

- pages = %w{1 2 3 4 5 6 7}.collect{|t| "<a href='#'>#{t}</a>"}
- b.paginator do |o|
	- o.prev "<a href='#'>Prev</a>"
	- o.pages [1, 2, 3, 4, 5, 6, 7]
	- o.to_link lambda{|t| "<a href='#'>#{t}</a>"}
	- o.current_page 3
	- o.next "<a href='#'>Next</a>"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
common_interface-0.1.2 lib/views/CommonInterface/Demo/shared/_paginator.html.haml
common_interface-0.1.1 lib/views/CommonInterface/Demo/shared/_paginator.html.haml
crystal-ext-0.0.3 lib/common_interface/app/views/theme_shared/_paginator.html.haml
crystal-ext-0.0.2 lib/common_interface/app/views/theme_shared/_paginator.html.haml
crystal-ext-0.0.1 lib/common_interface/app/views/theme_shared/_paginator.html.haml