aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-06-21 13:40:13 +1200
committerPhilip Arndt <parndt@gmail.com>2011-06-21 13:41:35 +1200
commit584aeecc29100a20d1ee31a100439c897f11ea86 (patch)
tree1b80b1e784d92900dc35f29b9fc66e872bd5734b /app
parentd32ae47b019ba80c6a3c9b3fdfd815e143f2542e (diff)
downloadrefinerycms-blog-584aeecc29100a20d1ee31a100439c897f11ea86.tar.gz
refinerycms-blog-584aeecc29100a20d1ee31a100439c897f11ea86.tar.bz2
refinerycms-blog-584aeecc29100a20d1ee31a100439c897f11ea86.zip
Using <section class='details'> instead of <details> to avoid this: https://skitch.com/parndt/ffa3d/refinery-cms-1.0-released-refinery-cms
Diffstat (limited to 'app')
-rw-r--r--app/views/blog/posts/_post.html.erb4
-rw-r--r--app/views/blog/shared/_post.html.erb4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/blog/posts/_post.html.erb b/app/views/blog/posts/_post.html.erb
index e5aabdb..6d715c3 100644
--- a/app/views/blog/posts/_post.html.erb
+++ b/app/views/blog/posts/_post.html.erb
@@ -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 %>
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb
index 662d91a..e3ce714 100644
--- a/app/views/blog/shared/_post.html.erb
+++ b/app/views/blog/shared/_post.html.erb
@@ -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,