Sha256: 9d75ddb02a6065f59de34fb04ac1b0d1bb488337cc169fe86620aa21e22becd0

Contents?: true

Size: 648 Bytes

Versions: 6

Compression:

Stored size: 648 Bytes

Contents

<% content_for :headers do %>
	<%= stylesheet_link_tag "documents" %>
<% end %>

<%= div_for audio, :class => 'content_size' do %>

  <div class="attachment_thumb">
    <%= link_to thumb_for(audio),
        {:controller => "documents", :action => "download", :id => audio}, 
        :class => "" %>
  </div>
  
  <div class="attachment_text">
  	<%= t('audio.msg') %><%= link_to audio.file_file_name, 
    {:controller => "documents", :action => "download", :id => audio},  
    :class => "" %>

	<audio src="<%= download_document_path(audio) %>" controls="controls">
		Your browser does not support the audio element.
	</audio>
  </div>

<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
social_stream-documents-0.1.5 app/views/audios/_audio.html.erb
social_stream-documents-0.1.4 app/views/audios/_audio.html.erb
social_stream-documents-0.1.3 app/views/audios/_audio.html.erb
social_stream-documents-0.1.2 app/views/audios/_audio.html.erb
social_stream-documents-0.1.1 app/views/audios/_audio.html.erb
social_stream-documents-0.1.0 app/views/audios/_audio.html.erb