Sha256: d7deb5af008268361559493759a93fc447e59a080cb2249dcdcdaa7439c56438

Contents?: true

Size: 208 Bytes

Versions: 30

Compression:

Stored size: 208 Bytes

Contents

- if model
  %div{ :class => model_name}
    - for prop in props
      = view_attribute(prop, model_name, :show => true, :value => model.attribute_get(prop[:name]))
    - if props.empty?
      %p= model.body

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
orange-more-0.7.3 lib/orange-more/pages/views/pages/show.haml
orange-more-0.7.2 lib/orange-more/pages/views/pages/show.haml
orange-more-0.7.1 lib/orange-more/pages/views/pages/show.haml
orange-more-0.6.5 lib/orange-more/pages/views/pages/show.haml
orange-more-0.6.4 lib/orange-more/pages/views/pages/show.haml
orange-more-0.6.3 lib/orange-more/pages/views/pages/show.haml
orange-more-0.6.2 lib/orange-more/pages/views/pages/show.haml
orange-more-0.6.0 lib/orange-more/pages/views/pages/show.haml
orange-more-0.5.8 lib/orange-more/pages/views/pages/show.haml
orange-more-0.5.7 lib/orange-more/pages/views/pages/show.haml
orange-0.5.5 lib/orange-more/pages/views/pages/show.haml
orange-0.5.4 lib/orange-more/pages/views/pages/show.haml
orange-0.5.3 lib/orange-more/pages/views/pages/show.haml
orange-0.5.2 lib/orange-more/pages/views/pages/show.haml
orange-0.5.1 lib/orange-more/pages/views/pages/show.haml
orange-0.4.0 lib/orange-more/pages/views/pages/show.haml
orange-0.3.9 lib/orange-more/pages/views/pages/show.haml
orange-0.3.8 lib/orange-more/pages/views/pages/show.haml
orange-0.3.7 lib/orange-more/pages/views/pages/show.haml
orange-0.3.6 lib/orange-more/pages/views/pages/show.haml