Sha256: 2d201ff2e2547de0b562c8f8734ba22d9d1767cbbe43562310326a5e0533be7b

Contents?: true

Size: 505 Bytes

Versions: 5

Compression:

Stored size: 505 Bytes

Contents

<div id="flickr-select">
  <h2>Flickr Images</h2>
  <% form_remote_tag( :url => admin_flickr_path, :method => :get ) do -%>
  <p><label for="tags">Search by tag:</label>
  <%= text_field_tag :tags, params[:tags] %> &nbsp; <%= submit_tag "go" %></p>
  <% end -%>

  <% for photo in flickr_images %>
     <%= link_to "#{image_tag photo.url(:square)}", "#{photo.url(:large)}", :title => "#{photo.title}", :onclick => "addLinkedImage('#{photo.url(:medium)}',this.title); return false;" %>
  <% end -%>

</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beef-has_assets-0.3.1 app/views/admin/flickrs/_selector.html.erb
beef-has_assets-0.3.2 app/views/admin/flickrs/_selector.html.erb
beef-has_assets-0.3.3 app/views/admin/flickrs/_selector.html.erb
beef-has_assets-0.3.4 app/views/admin/flickrs/_selector.html.erb
beef-has_assets-0.3.5 app/views/admin/flickrs/_selector.html.erb