Sha256: 115d977fdbee4edee1d6d1bfd5c4819bfe90d963439f9f90b83b707360cbff98
Contents?: true
Size: 1.45 KB
Versions: 16
Compression:
Stored size: 1.45 KB
Contents
%h1 = @blog.name #articles .article %h2 = @article.title by = @article.author.full_name = asset_tag(@article.featured_image , :small_thumb) %p = @article.body.html_safe - unless @article.commenting_disabled? #comments %h3 Comments - if @comments.blank? %p There are no comments. - else - @comments.each do |comment| .comment .content = comment.body .author - if comment.author.blank? Anonymous - else = comment.author.full_name .time = time_ago_in_words(comment.created_at) ago %br #new_comment = form_for(:comment, :url => blog_article_comments_path(current_localization_slug , @blog.slug, @article.slug)) do |f| %p = f.label :name %br = f.text_field :author_name %p = f.label :email %br = f.text_field :author_email %p = f.label :website %br = f.text_field :author_website %p = f.label :body , "Comment" %br = f.text_area :body %p = f.label :subscribe_to_comments %br = f.check_box :subscribe_to_comments = honeypot_field_tag %p = f.submit
Version data entries
16 entries across 16 versions & 2 rubygems