Sha256: 42312ec3d34316f665e3f85f31f015b08861d7fec07a324c74b2e240e238a1c1

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

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

= render 'toolbar'

- if collection
  = scope_nav
  = table_for(resource_class_path_array, collection) do |t|
    = render 'table', :t => t
  = page_range
  = paginate collection, :theme => 'app_frame'

Version data entries

1 entries across 1 versions & 1 rubygems

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