engine/app/views/locomotive/theme_assets/images.html.haml

15 lines
549 B
Plaintext

#theme-images.asset-picker
%h2!= t('.title')
.actions
= local_action_button t('locomotive.theme_assets.index.new'), theme_assets_url(:json), :class => 'button small add', :id => 'upload-link'
- if @images.empty?
%p.no-items!= t('.no_items')
%ul.list.theme-assets
= render 'asset', :asset => current_site.theme_assets.build(:updated_at => Time.now, :local_path => 'images/new.jpg', :content_type => 'image'), :edit => false
= render :partial => 'asset', :collection => @images, :locals => { :edit => false }
%li.clear