Sha256: 480912cfee3f888837b8c010e585a83994e72b69c0c63fe4d3b2252ac06495aa

Contents?: true

Size: 733 Bytes

Versions: 5

Compression:

Stored size: 733 Bytes

Contents

= render :partial => 'forums/standard_parts'

- content_for :form do
  .wrapper
    .post_header
      .speaker
        = standard_gravatar_for(@post.reader)
      %h2.person
        = current_reader.name
      %p.context
        = friendly_date(@post.created_at)
    = render :partial => 'form', :locals => {:post => @post}

- content_for :title do
  - if @post.page
    = t('edit_comment')
  - elsif @post.first? 
    = t('edit_topic')
  - else
    = t('edit_reply')

- content_for :breadhead do
  - if @post.page
    = link_to @page.title, @page.url, :class => 'breadhead'
  - elsif @post.topic && !@post.first?
    = link_to @post.topic.name, forum_topic_url(@topic.forum, @topic), :class => 'breadhead'



#forum
  = yield :form

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
radiant-forum-extension-2.1.6 app/views/posts/edit.html.haml
radiant-forum-extension-2.1.4 app/views/posts/edit.html.haml
radiant-forum-extension-2.1.3 app/views/posts/edit.html.haml
radiant-forum-extension-2.1.2 app/views/posts/edit.html.haml
radiant-forum-extension-2.1.1 app/views/posts/edit.html.haml