Sha256: 4c02769e0ce808bd3604ba9227d16cc311b7fa83c58b9b7efda465e99731320e

Contents?: true

Size: 819 Bytes

Versions: 7

Compression:

Stored size: 819 Bytes

Contents

- topic ||= @topic

- if topic.locked?
  %p.administrative
    = t("topic_locked")
- else
  - if current_reader
    - if current_reader.activated?
      .post.replyform
        .post_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

7 entries across 7 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.9 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.8 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.7 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.6 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.5 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.4 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.3 app/views/topics/_reply.html.haml