diff --git a/app/views/extranet/posts/posts/show.html.erb b/app/views/extranet/posts/posts/show.html.erb index 8f3410964550a0c559909163a89113c92d96c499..1d2bf0ce67cacf9db5b0869f76bfcb62a6ff3b45 100644 --- a/app/views/extranet/posts/posts/show.html.erb +++ b/app/views/extranet/posts/posts/show.html.erb @@ -2,7 +2,14 @@ <% content_for :header_right do %> <% if @post.featured_image.attached? %> - <%= kamifusen_tag @post.featured_image, class: 'img-fluid', width: 300 %> + <figure> + <%= kamifusen_tag @post.featured_image, class: 'img-fluid', width: 300 %> + <figcaption tabindex="0"> + <p> + <% @post.featured_image_credit %> + </p> + </figcaption> + </figure> <% end %> <% end %>