Sha256: 1d36ffff951dbf5524c4c94fe84560992869860b46be868b0dfe8ab746aad6bf

Contents?: true

Size: 814 Bytes

Versions: 5

Compression:

Stored size: 814 Bytes

Contents

- topic ||= @topic

- if topic.locked?
  %p.administrative
    = t("topic_locked")
- else
  - if current_reader
    - if current_reader.activated?
      .post.replyform
        .wrapper
          .post_header
            .speaker
              = standard_gravatar_for(current_reader)
            %h2.person
              = t("add_reply")
            %p.context
              = t('if_you_not', :name => current_reader.name)
              = link_to(t('log_out'), reader_logout_url) + '.'
          = render :partial => 'posts/form', :locals => {:post => topic.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')}

Version data entries

5 entries across 5 versions & 1 rubygems

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