Sha256: 19bfeda79893f48200464c9744a76890cb62f06e424994e3fc629bad3429958b

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 Bytes

Contents

= 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

1 entries across 1 versions & 1 rubygems

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