Sha256: b2bfcaf3b9f8b11dd972a16cd592abcc67397606fe061ded5af6290952bed254

Contents?: true

Size: 775 Bytes

Versions: 11

Compression:

Stored size: 775 Bytes

Contents

- content_for :person do
  = standard_gravatar_for(current_reader)
  
- content_for :context do
  %p.context
    = t('forum_extension.if_you_not', :name => current_reader.name)
    = link_to(t('reader_extension.log_out'), reader_logout_url) + '.'

- content_for :title do
  - if @page
    = t('forum_extension.new_comment')
  - elsif @topic 
    = t('forum_extension.new_reply')
  - else
    = t('forum_extension.new_topic')

- content_for :breadhead do
  - if @page
    = link_to @page.title, @page.url, :class => 'breadhead'
  - elsif @topic 
    = link_to_topic(@topic, :class => 'breadhead')

- content_for :form do
  = yield :context
  = render :partial => 'form', :locals => {:post => @post}

= render :partial => 'shared/standard_forum_parts'

.forum
  = yield :form

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/posts/new.html.haml
radiant-forum-extension-3.0.6 app/views/posts/new.html.haml
radiant-forum-extension-3.0.5 app/views/posts/new.html.haml
radiant-forum-extension-3.0.4 app/views/posts/new.html.haml
radiant-forum-extension-3.0.3 app/views/posts/new.html.haml
radiant-forum-extension-3.0.2 app/views/posts/new.html.haml
radiant-forum-extension-3.0.1 app/views/posts/new.html.haml
radiant-forum-extension-3.0.0 app/views/posts/new.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/posts/new.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/posts/new.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/posts/new.html.haml