Sha256: d3b6dfa8a9f0b402bc1df4d9c87d5b52a6463446a9758006ea622081ff7572d4

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

- if model
  %div{ :class => model_name}
    - for prop in props
      - if(prop[:relationship])
        !~ view_attribute(prop, model_name, :show => true, :value => model.__send__(prop[:name]), :model => model)
      - else
        !~ view_attribute(prop, model_name, :show => true, :value => model.attribute_get(prop[:name]), :model => model)

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
orange-sparkles-0.7.1 lib/orange-sparkles/views/default_resource/show.haml
orange-core-0.7.1 lib/orange-core/views/default_resource/show.haml