Sha256: 30a7a9541009aeeaea441c9d30fbaddbb2df95447e7f644b11fcc8e28189c124

Contents?: true

Size: 507 Bytes

Versions: 10

Compression:

Stored size: 507 Bytes

Contents

= stylesheet_link_tag 'admin/assets'
= javascript_include_tag 'admin/assets_admin'

#attachment_list.assets
  %ul#attachment_fields{:class => @page.page_attachments.empty? ? 'empty' : ''}
    = render :partial => 'admin/page_attachments/attachment', :collection => @page.page_attachments
  %p.note
    = link_to t('clipped_extension.assets'), '#attach_asset', :class => '', :id => "attach_assets"
    %span.message
      - if @page.page_attachments.empty?
        = t('clipped_extension.no_attached_assets')

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
trusty-clipped-extension-2.0.2.pre.beta app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-2.0.1.pre.beta app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-2.0.0.pre.beta app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.1.1 app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.1.0 app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.0.11 app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.0.10 app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.0.9 app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.0.8 app/views/admin/pages/_assets.html.haml
trusty-clipped-extension-1.0.7 app/views/admin/pages/_assets.html.haml