Sha256: 2f8cee390725551dae65f75cae32937f4289620aceef6d53a0671b887a42c568

Contents?: true

Size: 438 Bytes

Versions: 278

Compression:

Stored size: 438 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_buttons(@resource, show: false)

  = render_resource_partial(@resource)

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

Version data entries

278 entries across 278 versions & 2 rubygems

Version Path
effective_resources-2.27.9 app/views/application/show.html.haml
effective_resources-2.27.8 app/views/application/show.html.haml
effective_resources-2.27.7 app/views/application/show.html.haml
effective_resources-2.27.6 app/views/application/show.html.haml
effective_resources-2.27.5 app/views/application/show.html.haml
effective_resources-2.27.4 app/views/application/show.html.haml
effective_resources-2.27.3 app/views/application/show.html.haml
effective_resources-2.27.2 app/views/application/show.html.haml
effective_resources-2.27.1 app/views/application/show.html.haml
effective_resources-2.27.0 app/views/application/show.html.haml
effective_resources-2.26.5 app/views/application/show.html.haml
effective_resources-2.26.4 app/views/application/show.html.haml
effective_resources-2.26.3 app/views/application/show.html.haml
effective_resources-2.26.2 app/views/application/show.html.haml
effective_resources-2.26.1 app/views/application/show.html.haml
effective_resources-2.26.0 app/views/application/show.html.haml
effective_resources-2.25.16 app/views/application/show.html.haml
effective_resources-2.25.15 app/views/application/show.html.haml
effective_resources-2.25.14 app/views/application/show.html.haml
effective_resources-2.25.13 app/views/application/show.html.haml