Sha256: a6fd8f8f4bc19ed82449f6cc3bff7dbf0c0aaf9066d4eaef956865765e0604a7

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

- content_for :page_header do
  = page_header resource_name.pluralize do
    = link_to("New #{resource_name}", new_resource_url, :class => 'btn btn-primary')

= render 'toolbar'

- if collection
  = scope_nav
  = table_for(controller_namespaces + [resource_class], collection) do |t|
    = render 'table', :t => t
  = page_range
  = paginate collection, :theme => 'app_frame'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_frame-0.5.8 app/views/application/index.html.haml
app_frame-0.5.7 app/views/application/index.html.haml