Sha256: ff7c25997204e5a6499c78257cd10e0939ab50d89173129155fbcdd04758fc4b

Contents?: true

Size: 430 Bytes

Versions: 5

Compression:

Stored size: 430 Bytes

Contents

- resource = (@_effective_resource || Effective::Resource.new(controller_path))
- @resource = instance_variable_get('@' + resource.name) if resource.name

- if @resource
  .row
    .col-8
      %h1= @page_title
    .col-4.text-right
      = render_resource_actions(resource, @resource, show: false)

  = render @resource

.form-actions
  = link_to 'Continue', (resource.action_path(:index) || root_path), class: 'btn btn-primary'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_resources-0.9.5 app/views/application/show.html.haml
effective_resources-0.9.4 app/views/application/show.html.haml
effective_resources-0.9.3 app/views/application/show.html.haml
effective_resources-0.9.2 app/views/application/show.html.haml
effective_resources-0.9.1 app/views/application/show.html.haml