Sha256: 9b847c026f2cbde09f47969bc7bd07dfbd10776d009a8508ac90143c19e4b13f

Contents?: true

Size: 295 Bytes

Versions: 154

Compression:

Stored size: 295 Bytes

Contents

<figure class="attachment attachment--preview">
  <%= image_tag(remote_image.url, width: remote_image.width, height: remote_image.height) %>
  <% if caption = remote_image.try(:caption) %>
    <figcaption class="attachment__caption">
      <%= caption %>
    </figcaption>
  <% end %>
</figure>

Version data entries

154 entries across 149 versions & 13 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actiontext-7.0.3.1/app/views/action_text/attachables/_remote_image.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actiontext-6.1.6.1/app/views/action_text/attachables/_remote_image.html.erb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actiontext-7.0.2.3/app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.1.2 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.1.1 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.1.0 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.1.0.rc2 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.1.0.rc1 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.1.0.beta1 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.0.8 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.0.7.2 app/views/action_text/attachables/_remote_image.html.erb
actiontext-6.1.7.6 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.0.7.1 app/views/action_text/attachables/_remote_image.html.erb
actiontext-6.1.7.5 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.0.7 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.0.6 app/views/action_text/attachables/_remote_image.html.erb
actiontext-7.0.5.1 app/views/action_text/attachables/_remote_image.html.erb
actiontext-6.1.7.4 app/views/action_text/attachables/_remote_image.html.erb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actiontext-7.0.2.3/app/views/action_text/attachables/_remote_image.html.erb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actiontext-7.0.3.1/app/views/action_text/attachables/_remote_image.html.erb