Sha256: 54ad80a0cb723f4ac704a58ae3918a2b8cc48e7e6d15aebbbe4deb9db89f4ff6

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 Bytes

Contents

<li id="wysihat_file_<%= wysihat_file.id %>" class="<%= params[:type] %>">
  <div id="asset">
    <%= link_to_function((image_tag wysihat_file.file.url(:thumb)), "$$('iframe##{params[:editor]}')[0].insertImage(this.href); facebox.close();", :href => wysihat_file.file.url) %>
  </div>
  <% if params[:type] && params[:type] == "file" %>
    <%= render :partial => '/wysihat_files/clipboard', :locals => { :file => "#{wysihat_file.id}", :url => "http://#{SITE_URL}#{wysihat_file.file.url}" }  %>
  <% end %>
  <div id="delete">
    <%= link_to_remote t('wysihat_files.destroy.name'), :url => wysihat_file, :method => :delete, :confirm => t('wysihat_files.destroy.sure') %>
  </div>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bcalloway-wysihat-engine-0.1.10 app/views/wysihat_files/_wysihat_file.html.erb
bcalloway-wysihat-engine-0.1.9 app/views/wysihat_files/_wysihat_file.html.erb
bcalloway-wysihat-engine-0.1.8 app/views/wysihat_files/_wysihat_file.html.erb