.box
  .boxheader
    %span.header Images in this Portfolio
    = link_to 'Add', new_admin_portfolio_assigned_asset_path(@portfolio)
  %ul.cleanlist.image-list
    %li.boxcontent
      - @portfolio.assigned_assets.each do |assigned_asset|
        - form_tag admin_portfolio_assigned_asset_path(@portfolio, assigned_asset), :method => :delete do
          = hidden_field_tag 'assigned_asset_id', assigned_asset.id
          = image_submit_tag assigned_asset.asset.public_filename(:thumb)
.box
  .boxheader
    %span.header Images in this Portfolio
    = link_to 'Add', new_admin_portfolio_assigned_asset_path(@portfolio)
  %ul.cleanlist.image-list
    %li.boxcontent
      - @portfolio.assigned_assets.each do |assigned_asset|
        = link_to image_tag(assigned_asset.asset.public_filename(:thumb)), |
          admin_portfolio_assigned_asset_path(@portfolio, assigned_asset), |
          :title => 'Delete', :confirm => 'Are you sure?', :method => :delete |

Delete assigned assets from the portfolios in a better way (link instead of hidden form)
Delete assigned assets from the portfolios in a better way (link instead of hidden form)
