Sha256: 418f262afe6d03be22607b888628e3281424b2fab5fe523f19bec484a9e3bd2f

Contents?: true

Size: 421 Bytes

Versions: 40

Compression:

Stored size: 421 Bytes

Contents

<%- if audio_view.attachment -%>
  <%= content_tag :audio,
      controls: audio_view.controls,
      autoplay: audio_view.autoplay,
      loop: audio_view.loop,
      muted: audio_view.muted do %>
    <%= tag :source,
      src: alchemy.show_attachment_path(
        audio_view.attachment,
        format: audio_view.attachment.suffix
      ),
      type: audio_view.attachment.file_mime_type %>
  <% end %>
<%- end -%>

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.9 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.8 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.7 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.6 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.5 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.14 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.4 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-7.0.0.pre.a app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.13 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.3 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.2 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.1 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.1.0 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.12 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.11 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.10 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.9 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.8 app/views/alchemy/ingredients/_audio_view.html.erb
alchemy_cms-6.0.7 app/views/alchemy/ingredients/_audio_view.html.erb