Sha256: 8d4c2f430b00169042c1717dbc27aca8a1a4f28d9b31c8ca678d6892011719c3

Contents?: true

Size: 846 Bytes

Versions: 7

Compression:

Stored size: 846 Bytes

Contents

- content_for :context do
  %p.context
    = render :partial => 'posts/context'

- content_for :person do
  = standard_gravatar_for(@post.reader)

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

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

- content_for :form do
  - if post.editable_by?(current_reader)
    = render :partial => 'form', :locals => {:post => @post}
  - else
    = render :partial => 'ineditable', :locals => {:post => @post}
  
= render :partial => 'shared/standard_forum_parts'

.forum
  = yield :form

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.3 app/views/posts/edit.html.haml
radiant-forum-extension-3.0.2 app/views/posts/edit.html.haml
radiant-forum-extension-3.0.1 app/views/posts/edit.html.haml
radiant-forum-extension-3.0.0 app/views/posts/edit.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/posts/edit.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/posts/edit.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/posts/edit.html.haml