Sha256: 67f7499dea4b753961ebaddf1ff1a32c4f1327f66cd649d6cdc2f093c6f32ebc

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

- content_for :page_header do
  = page_header resource.to_s

= view_for resource_path_array do |s|
  = render 'show', :s => s

- child_resources.each do |data|
  %h2= data[:name]
  .btn-toolbar
    = link_to("New #{data[:resource_name]}", polymorphic_url((controller_namespaces + [resource, data[:resource_class]]), :action => :new), :class => 'btn')
  = table_for(controller_namespaces + [resource, data[:resource_class]], resource.send(data[:symbol])) do |t|
    = render (controller_namespaces + [data[:symbol].to_s, 'table']).join('/'), :t => t, :resource_class => data[:resource_class]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_frame-0.5.7 app/views/application/show.html.haml
app_frame-0.5.6 app/views/application/show.html.haml