Sha256: 9b591e5600d3e5da6f395bc6ad70e1b7644bea71b9af7211a752b3088a57ecfa

Contents?: true

Size: 815 Bytes

Versions: 3

Compression:

Stored size: 815 Bytes

Contents

- topic ||= @topic

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

3 entries across 3 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.2 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.1 app/views/topics/_reply.html.haml
radiant-forum-extension-2.0.0 app/views/topics/_reply.html.haml