Sha256: 544726bb6af6c2511c04be9650cf4cb91ec244a7721fd95d628d593e9ec5fca3

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

%h1 你好
= editable_content_tag :div, @page, 'title'
= editable_content_tag :div, @page, 'body.title' do
  = "body"
= link_to @page.title, page_url(@page.slug,:subdomain => 'en')
- if current_admin
  = properties_for @page do |p|
    = p.string 'title'
    = p.attachment 'pic'
    = p.attachment 'list'
    = p.attachment_list 'pic_list'
    = p.attachment_list 'pic_list_2'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
amalgam-2.1.4 spec/dummy/app/views/pages/show.html.haml
amalgam-2.1.3.1 spec/dummy/app/views/pages/show.html.haml
amalgam-2.1.3 spec/dummy/app/views/pages/show.html.haml
amalgam-2.1.2 spec/dummy/app/views/pages/show.html.haml
amalgam-2.1.1 spec/dummy/app/views/pages/show.html.haml