Sha256: b9b764536db860da8c20d115ebef8ec6b7c56d127ab5c17b785de7adedda428c

Contents?: true

Size: 1.86 KB

Versions: 22

Compression:

Stored size: 1.86 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', :multiple => true
        
        %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

22 entries across 22 versions & 3 rubygems

Version Path
radiant-clipped-extension-1.1.2 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-add-group-1.1.2 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.1.1 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.1.0 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.17 app/views/admin/pages/_asset_popups.html.haml
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-clipped-extension-1.0.16/app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.16 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.15 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.14 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.13 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.12 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.11 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.10 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.9 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.8 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.7 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.6 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.5 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.4 app/views/admin/pages/_asset_popups.html.haml
radiant-clipped-extension-1.0.3 app/views/admin/pages/_asset_popups.html.haml