Sha256: 434f784653ed4ca618cbc054605abb17ce7f2f07460777569f5b8a9b2a932cb6
Contents?: true
Size: 940 Bytes
Versions: 15
Compression:
Stored size: 940 Bytes
Contents
<div class="grid_5 attachment_magick_image"> <div class="grid_3 alpha"> <% if image.is_flash? %> <%= attachment_for_flash(image.photo.url) %> <% else %> <%= image_tag((image.source.nil? ? image.photo.thumb(image.imageable.class.style_publisher).url : image.source_to_image), :alt => "") %> <% end %> <input type="hidden" value="<%= image.id%>" id="image_id"> </div> <div class="grid_2 omega"> <p> <%= link_to "remover", "javascript://", :class => "remove_image"%> <br /> <%= link_to "ver original", image.source || image.photo.url, :target => "blank"%> </p> </div> <div class="grid_5 alpha omega"> <label>LEGENDA</label> <%= text_field_tag "#{image.imageable.class.name.downcase}[images_attributes][#{image.id}][caption]", image.caption%> <%= hidden_field_tag "#{image.imageable.class.name.downcase}[images_attributes][#{image.id}][id]", image.id%> </div> </div>
Version data entries
15 entries across 15 versions & 1 rubygems