We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b5590 commit d7278f4Copy full SHA for d7278f4
app/views/blog_post_page/index.html.erb
@@ -5,10 +5,11 @@
5
<% end %>
6
7
8
- <%= content_tag(:div, scrivito_value(@obj.created.strftime("%Y年%m月%d日")), :class => "text-muted h4") %>
+ <%= content_tag :div, scrivito_value(@obj.created.strftime("%Y年%m月%d日")),
9
+ class: "text-muted h4" %>
10
<hr>
11
<%= scrivito_tag :h1, @obj, :title %>
12
<%= scrivito_tag :div, @obj, :abstract %>
- <%= scrivito_image_tag @obj, :image ,:class => "img-responsive" %>
13
+ <%= scrivito_image_tag @obj, :image, class: "img-responsive" %>
14
<%= scrivito_tag :div, @obj, :body %>
15
</div>
0 commit comments