Sha256: 5abe8c67f1787e495f8e11345c69c0a59d0071f6108a7661083762357f99fe14

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

%h1= current_page.title
= content :option

= content :headline
= content.text :headline
= content.html :body
- if has_content?(:image)
  = content.image_tag :image, resize: '100x100'

= current_account.content :line

- repeater current_account.content(:repeater) do |repeater_content|
  = repeater_content.content :line

- images :image_collection do |image|
  = content.image_tag image, resize: '50x50'

- repeater :repeater do |project|
  = project.content.html :line
  = project.content.image_tag :image, resize: '50x50'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-2.0.2 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-2.0.1 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-2.0.0 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-2.0.0.beta lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-2.0.0.alpha lib/generators/spina/templates/app/views/demo/pages/demo.html.haml