Sha256: c0c3f108ea68d78668742ae2da26ca32901cf26330f528f63153ba5d0f10c762

Contents?: true

Size: 912 Bytes

Versions: 11

Compression:

Stored size: 912 Bytes

Contents

- page ||= @page

- if page.commentable?
  - if current_reader
    - if current_reader.activated?
      .post.replyform
        .wrapper
          .post_header
            = standard_gravatar_for(current_reader)
            %h2.person
              = t("forum_extension.add_comment")
            %p.context
              = t('forum_extension.if_you_not', :name => current_reader.name)
              = link_to(t('reader_extension.log_out'), reader_logout_url) + '.'
          = render :partial => 'posts/form', :locals => {:post => page.posts.build, :omit_label => true}
          
          
    - else
      = render :partial => 'reader_activations/activation_required', :locals => {:purpose => t('forum_extension.to_reply')}
  - else
    = render :partial => 'reader_sessions/login_form', :locals => {:purpose => t('forum_extension.to_reply')}
- else
  %p.administrative
    = t("forum_extension.page_locked")

Version data entries

11 entries across 11 versions & 1 rubygems

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