Sha256: 92e1a68eb7c959e143cbeff0c9925611985220f40aac45f93cbd60ea5c73cde6

Contents?: true

Size: 335 Bytes

Versions: 5

Compression:

Stored size: 335 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, edit: false)

  = render_resource_form(resource)

Version data entries

5 entries across 5 versions & 1 rubygems

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