Sha256: 3347b9edea860b35a719be08ba267d3d437bf707a1eb728db9e77bd7ee328211
Contents?: true
Size: 813 Bytes
Versions: 1
Compression:
Stored size: 813 Bytes
Contents
<div class="grid_5 attachment_magick_image"> <div class="grid_3 alpha"> <%= image_tag image.source.nil? ? image.photo.thumb(image.imageable.class.style_publisher).url : image.source_to_image%> <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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attachment_magick-0.1.0 | app/views/layouts/attachment_magick/images/_add_image.html.erb |