Sha256: 87cf2915a6656c3e9e8122c1fed9d4d40a8bafe876acee04b6474f24e1c8495d

Contents?: true

Size: 816 Bytes

Versions: 5

Compression:

Stored size: 816 Bytes

Contents

- page ||= @page

- if page.commentable?
  - if current_reader
    - if current_reader.activated?
      .post.replyform
        .wrapper
          .post_header
            .speaker
              = standard_gravatar_for(current_reader)
            %h2.person
              = t("add_comment")
            %p.context
              = t('if_you_not', :name => current_reader.name)
              = link_to(t('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('to_reply')}
  - else
    = render :partial => 'reader_sessions/login_form', :locals => {:purpose => t('to_reply')}
- else
  %p.administrative
    = t("page_locked")

Version data entries

5 entries across 5 versions & 1 rubygems

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