Sha256: ac9efda23ebe9283333790a70193fcbde44c0cfff0b2197cee9df8704602b37b

Contents?: true

Size: 177 Bytes

Versions: 8

Compression:

Stored size: 177 Bytes

Contents

- image = page.get_field_value(field.code_name)

- if image
  = image_tag image.value.thumb('200x200').url

%br/
= file_field_tag "fields[#{field.code_name}]", :class => 'span6'

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
constructor-pages-0.6.1 app/views/constructor_pages/fields/types/_image.haml
constructor-cms-0.6.1 pages/app/views/constructor_pages/fields/types/_image.haml
constructor-pages-0.6.0 app/views/constructor_pages/fields/types/_image.haml
constructor-cms-0.6.0 pages/app/views/constructor_pages/fields/types/_image.haml
constructor-pages-0.5.8 app/views/constructor_pages/fields/types/_image.haml
constructor-cms-0.5.8 pages/app/views/constructor_pages/fields/types/_image.haml
constructor-pages-0.5.7 app/views/constructor_pages/fields/types/_image.haml
constructor-pages-0.5.6 app/views/constructor_pages/fields/types/_image.haml