Sha256: e9fd9d43b1ac924475e521f833d35095f2206d8ff653bb7d477cb5c7d72b979c

Contents?: true

Size: 509 Bytes

Versions: 5

Compression:

Stored size: 509 Bytes

Contents

#theme-images.asset-picker
  %h2= t('.title')
  
  .actions
    = admin_button_tag t('admin.theme_assets.index.new'), admin_theme_assets_url(:json), :class => 'button small add', :id => 'upload-link'
  
  - if @image_assets.empty?
    %p.no-items= t('.no_items')
  - else
    %ul.assets
      = render 'asset', :asset => current_site.theme_assets.build, :edit => false
      
      = render :partial => 'asset', :collection => @image_assets, :locals => { :per_row => 3, :edit => false }
      
      %li.clear

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotive_cms-0.0.1.4 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.1.3 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.1.2 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.1.1 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.1 app/views/admin/theme_assets/images.html.haml