Sha256: fe28bde188bf0713bcf51ca4006d736a37ab62b95eecd5d835637206751f83be

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 Bytes

Contents

<div class="newAttachments <%= newAttachments[:class] %>">
  <ul class="attachmentQueue">
  </ul>

  <div class="dropAttachments"></div>
  <a class="pickAttachments btn" href="javascript://"><%= t('media_magick.select') %></a>
  <a class="uploadAttachments btn" href="javascript://"><%= t('media_magick.upload') %></a>
</div>
<ul class="loadedAttachments <%= loadedAttachments[:class] %>">
  <% for attachment in model.send(relations).each do %>
    <% if attachment.class::TYPE.to_s == 'file' %>
      <%= render :partial => "/file", :locals => { :attachment => attachment } %>
    <% elsif attachment.class::TYPE.to_s == 'image' %>
      <%= render :partial => "/image", :locals => { :attachment => attachment } %>
    <% end %>
  <% end %>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
media_magick-0.0.1 app/views/_upload.html.erb