Sha256: e3e030c87bded366df776a46fce3bf810fbc10963423df4c605b7c81eebd61aa
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
#entries.grid_8 .entry.last .title = entry.title .date = entry.published_at.to_s(:long) .content ~ entry.body.html_safe %a{ :name => 'comments' } #comments %h2 Comments - if entry.comments.any? - entry.comments.each do |comment| .comment .gravatar = image_tag comment.gravatar_url(:default => default_gravatar_url) .author = comment.name %span.when = comment.created_at.to_s(:long) .body = comment.body - else .comment .author None yet... %a{ :name => 'add-comment' } #new_comment %h2 Add a comment = semantic_form_for [entry, comment] do |form| = form.input :name = form.input :nickname = form.input :email, :label => 'Email (not shown to the public)' = form.input :url, :label => 'Website' = form.input :body, :label => 'Comment' = form.submit 'Add comment'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jabe-0.5.9 | app/views/entries/show.html.haml |