Sha256: cf23f98d0a52bd64fef1b56c4613af3911a21767386da3c6dbf9a120841ceaa1

Contents?: true

Size: 600 Bytes

Versions: 74

Compression:

Stored size: 600 Bytes

Contents

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

%fieldset.asset_attachment
  #attachment_list.assets
    %ul#attachment_fields{:class => @page.page_attachments.empty? ? 'empty' : ''}
      = render :partial => 'admin/page_attachments/attachment', :collection => @page.page_attachments
  .attach-assets
    .message
      - if @page.page_attachments.empty?
        = t('clipped_extension.no_attached_assets')
    = link_to 'path/to/page.html' '#attach_asset', :class => 'button', :id => 'attach_assets' do
      %i.far.fa-image
      = t('clipped_extension.assets')

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 app/views/admin/pages/_assets.html.haml
trusty-cms-7.0.2 app/views/admin/pages/_assets.html.haml
trusty-cms-7.0.1 app/views/admin/pages/_assets.html.haml
trusty-cms-7.0.0 app/views/admin/pages/_assets.html.haml
trusty-cms-6.3 app/views/admin/pages/_assets.html.haml
trusty-cms-6.2.1 app/views/admin/pages/_assets.html.haml
trusty-cms-6.2.2.1 app/views/admin/pages/_assets.html.haml
trusty-cms-6.2.0 app/views/admin/pages/_assets.html.haml
trusty-cms-6.1.2 app/views/admin/pages/_assets.html.haml
trusty-cms-6.1.1 app/views/admin/pages/_assets.html.haml
trusty-cms-6.0.5 app/views/admin/pages/_assets.html.haml
trusty-cms-6.0.4 app/views/admin/pages/_assets.html.haml
trusty-cms-6.0.3 app/views/admin/pages/_assets.html.haml
trusty-cms-6.0.2 app/views/admin/pages/_assets.html.haml
trusty-cms-6.0.1 app/views/admin/pages/_assets.html.haml
trusty-cms-5.6.1 app/views/admin/pages/_assets.html.haml
trusty-cms-6.0.0 app/views/admin/pages/_assets.html.haml
trusty-cms-5.6.0 app/views/admin/pages/_assets.html.haml
trusty-cms-5.5.9 app/views/admin/pages/_assets.html.haml
trusty-cms-5.5.8 app/views/admin/pages/_assets.html.haml