Sha256: 008899988125a36e3c00f4fb981573779bda2f35e385463ce7cccfb7e1a1d396
Contents?: true
Size: 644 Bytes
Versions: 1
Compression:
Stored size: 644 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| %section .btn-toolbar .btn-group.pull-right = link_to("New #{data[:resource_name]}", polymorphic_url((controller_namespaces + [resource, data[:resource_class]]), :action => :new), :class => 'btn') %h2= data[:name] = 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.6.1 | app/views/application/show.html.haml |