Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using <section class='details'> instead of <details> to avoid this: h…

  • Loading branch information...
commit 584aeecc29100a20d1ee31a100439c897f11ea86 1 parent d32ae47
Philip Arndt parndt authored
4 app/views/blog/posts/_post.html.erb
View
@@ -6,7 +6,7 @@
<article id="blog_post">
<header>
<h1><%= @blog_post.title %></h1>
- <details>
+ <section class='details'>
<time datetime="<%=l @blog_post.published_at.to_date, :format => :default %>" class='posted_at'>
<%= t('blog.shared.posts.created_at', :when => l(@blog_post.published_at.to_date, :format => :short)) %>
</time><%= "#{t('blog.posts.show.by')} #{@blog_post.author.username}" if @blog_post.author.present? %>.
@@ -18,7 +18,7 @@
<% end %>
</aside>
<% end %>
- </details>
+ </section>
</header>
<%= @blog_post.body.html_safe %>
4 app/views/blog/shared/_post.html.erb
View
@@ -2,7 +2,7 @@
<article class="blog_post" id="<%= dom_id(post) %>">
<header>
<h1><%= link_to post.title, blog_post_url(post) %></h1>
- <details>
+ <section class='details'>
<time datetime="<%=l post.published_at.to_date, :format => :default %>" class='posted_at'>
<%= t('blog.shared.posts.created_at', :when => l(post.published_at.to_date, :format => :short)) %>
</time><%= "#{t('blog.posts.show.by')} #{post.author.username}" if post.author.present? %>.
@@ -18,7 +18,7 @@
<%=raw tags.collect { |tag| link_to tag, tagged_posts_path(tag.parameterize) }.to_sentence %>
</aside>
<% end %>
- </details>
+ </section>
</header>
<section class='clearfix'>
<%= truncate(post.body,
Please sign in to comment.
Something went wrong with that request. Please try again.