Sha256: 6cc18816f0421dbb271702c7029f6428ec3e83cc0ee1d6734cc3964b81065689

Contents?: true

Size: 259 Bytes

Versions: 24

Compression:

Stored size: 259 Bytes

Contents

- resource = (@_effective_resource || Effective::Resource.new(controller_path))

%h1= @page_title

- if resource.name.present? && instance_variable_get('@' + resource.name)
  = render 'form', resource.name.to_sym => instance_variable_get('@' + resource.name)

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
effective_resources-0.7.3 app/views/application/new.html.haml
effective_resources-0.7.2 app/views/application/new.html.haml
effective_resources-0.7.1 app/views/application/new.html.haml
effective_resources-0.7.0 app/views/application/new.html.haml
effective_resources-0.6.9 app/views/application/new.html.haml
effective_resources-0.6.8 app/views/application/new.html.haml
effective_resources-0.6.7 app/views/application/new.html.haml
effective_resources-0.6.6 app/views/application/new.html.haml
effective_resources-0.6.5 app/views/application/new.html.haml
effective_resources-0.6.4 app/views/application/new.html.haml
effective_resources-0.6.3 app/views/application/new.html.haml
effective_resources-0.6.2 app/views/application/new.html.haml
effective_resources-0.6.1 app/views/application/new.html.haml
effective_resources-0.6.0 app/views/application/new.html.haml
effective_resources-0.5.1 app/views/application/new.html.haml
effective_resources-0.5.0 app/views/application/new.html.haml
effective_resources-0.4.10 app/views/application/new.html.haml
effective_resources-0.4.9 app/views/application/new.html.haml
effective_resources-0.4.8 app/views/application/new.html.haml
effective_resources-0.4.7 app/views/application/new.html.haml