engine/app/views/admin/assets/_form.html.haml
2010-05-12 02:16:39 +02:00

10 lines
309 B
Plaintext

= f.inputs :name => :information do
= f.input :name
= f.input :source
- if @asset.image?
= f.foldable_inputs :name => "#{t('formtastic.titles.preview')} #{image_dimensions_and_size(@asset)}", :class => 'preview' do
%li
.image
.inside
= image_tag(@asset.source.url(:preview))