Sha256: 649ec3d44765a2ed6a6deffb867acd91c92a3258e12c81d6beb99997a8e4dfa6
Contents?: true
Size: 1.84 KB
Versions: 2
Compression:
Stored size: 1.84 KB
Contents
- render_region :asset_popups do |popups| - popups.upload_asset do #upload_asset.popup.textured{:style => "display: none; width: 28em"} #upload_asset_busy.busy{:style => "display: none"}= image('spinner.gif', :alt => "") .popup_title= t('clipped_extension.upload_asset') - form_for([:admin, Asset.new], :html => {:method => 'post', :multipart => true, :class => 'upload_asset'}) do |f| = hidden_field_tag "for_attachment", 1 = hidden_field_tag "page_id", @page.id %p = f.label :asset, t("clipped_extension.choose_file") = f.file_field :asset, :class => 'file' %p = f.label :title, t("clipped_extension.alt_text_or_title") = f.text_field :title, :class => "textbox big" .buttons = f.submit t("clipped_extension.upload"), :class => "button" = t('or') %a.cancel.close_popup{:href=>"javascript:void(0)"}= t('cancel') %a.popup{:href=>"#attach_asset", :style => 'color: #666; float: left'}= t('clipped_extension.attach_existing') #upload_holders - popups.attach_asset do #attach_asset.popup.textured{:style=>"display: none;"} .popup_title= t('clipped_extension.find_assets') .toolbar = render :partial => 'admin/assets/search' #assets_table.assets.viewport{:style=>"height: 320px; width: 610px"} - assets = Asset.all.paginate(:per_page => 20) = render :partial => 'admin/assets/asset_table', :locals => {:assets => assets, :with_pagination => true} .busy{:style => "display: none"}= image('spinner.gif', :alt => "") .buttons %a.cancel.close_popup{:href=>"javascript:void(0)"}= t('close') %a.popup{:href=>"#upload_asset", :style => 'color: #666; float: left'}= t('clipped_extension.upload_asset')
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
radiant-clipped-extension-1.0.0 | app/views/admin/pages/_asset_popups.html.haml |
radiant-1.0.0.rc2 | vendor/extensions/clipped/app/views/admin/pages/_asset_popups.html.haml |