app/views/bigmouth/articles/show.html.slim in bigmouth-0.0.1 vs app/views/bigmouth/articles/show.html.slim in bigmouth-0.0.2
- old
+ new
@@ -1,15 +1,14 @@
-p#notice
- = notice
h1.article-title
= @article.title
-.posted-date
- = @article.created_at.strftime("%B %d, %Y")
-.article
+p.lead.article-author
+ | by
+ = author @article
+hr
+p.posted-date
+ span.glyphicon.glyphicon-time
+ | Posted on
+ = @article.created_at.strftime(Bigmouth.config.datetime_format)
+hr
+.article-body
= sanitize @article.text
-p
- strong
- | Author:
- = article_author @article
-= link_to 'Edit', edit_article_path(@article)
-| |
= link_to 'Back', articles_path