Sha256: bb322f6f21baf7505404df50b6907aa6599187438f40231cbb69984bdf8fa3df

Contents?: true

Size: 420 Bytes

Versions: 72

Compression:

Stored size: 420 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

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

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
effective_resources-1.4.11 app/views/application/show.html.haml
effective_resources-1.4.10 app/views/application/show.html.haml
effective_resources-1.4.9 app/views/application/show.html.haml
effective_resources-1.4.8 app/views/application/show.html.haml
effective_resources-1.4.7 app/views/application/show.html.haml
effective_resources-1.4.6 app/views/application/show.html.haml
effective_resources-1.4.5 app/views/application/show.html.haml
effective_resources-1.4.4 app/views/application/show.html.haml
effective_resources-1.4.3 app/views/application/show.html.haml
effective_resources-1.4.2 app/views/application/show.html.haml
effective_resources-1.4.1 app/views/application/show.html.haml
effective_resources-1.4.0 app/views/application/show.html.haml
effective_resources-1.3.16 app/views/application/show.html.haml
effective_resources-1.3.15 app/views/application/show.html.haml
effective_resources-1.3.14 app/views/application/show.html.haml
effective_resources-1.3.13 app/views/application/show.html.haml
effective_resources-1.3.12 app/views/application/show.html.haml
effective_resources-1.3.11 app/views/application/show.html.haml
effective_resources-1.3.10 app/views/application/show.html.haml
effective_resources-1.3.9 app/views/application/show.html.haml