Sha256: 2c53f0b7ffdec1ae1ab29eed55f466581e09e8ea48e1b63441137e6f52269a22
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
<aside id="comments"> <% if (comments = @post.comments.approved).any? %> <h2><%= t('title', :scope => 'refinery.blog.posts.show.comments') %></h2> <%= render :partial => "comment", :collection => comments %> <% end %> <% if Refinery::Blog::Post.comments_allowed? %> <% flash.each do |key, value| %> <div id="flash" class="flash flash_<%= key %>"> <%= value %> </div> <% end %> <h2><%= t('add', :scope => 'refinery.blog.posts.show.comments') %></h2> <%= form_for [refinery, :blog, @comment] do |f| %> <%= render "/refinery/admin/error_messages", :object => f.object, :include_object_name => true %> <div class="field"> <%= f.label :name %> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :email %> <%= f.email_field :email %> </div> <div class="field message_field"> <%= f.label :message %> <%= f.text_area :message, :rows => 6 %> </div> <div class="field form-actions"> <%= f.submit t('submit', :scope => 'refinery.blog.posts.show') %> </div> <% end %> <% end %> </aside>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-blog-4.0.0 | app/views/refinery/blog/posts/_comments.html.erb |