Sha256: 0959991cf9c4ce9adca181e8e11a3e8704583b28af8a29286cef7f2e99c418d6

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

<% for reply in replies %>
  <% oddeven = cycle("odd", "even") %>
  <div class="reply-top <%= oddeven %>">
    <span style="float:right;">
      <%= link_to( t('dc_forum.new_reply'), { table: 'dc_reply', form_name: 'reply', 
                   controller: :cmsedit, action: 'new', reply_to: reply.id,
                   p_doc_id: parent_doc.id, p_doc_class: parent_doc.class.to_s }, 
                   target: 'iframe_edit', ref: 'nofollow') %>
    </span>
    <b><%= reply.subject %></b><br>
    <%= t('dc_forum.replied_by') %>: <%= dc_pretty_date(reply.created_at) %>, <%= reply.created_by_name %> <br>
  </div>
  <div class="reply-body <%= oddeven %>"><%= reply.body.html_safe %></div>
<% end %>

<div id="dc-reply-menu">
  <div class="dc-link dc-animate" style="float: left;">
  <%= link_to( t('dc_forum.new_reply'), { controller: 'cmsedit', table: "dc_reply", 
               form_name: 'reply', action: 'new', 
               p_doc_id: parent_doc.id, p_doc_class: parent_doc.class.to_s}, 
               {target: 'iframe_edit', class: 'dc-animate', ref: 'nofollow'}) %>
  </div>
  <%# = paginate replies %>   
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
drg_blog_news_forum-0.6.5 app/views/dc_replay/_reply.html.erb
drg_blog_news_forum-0.6.4 app/views/dc_replay/_reply.html.erb
drg_blog_news_forum-0.6.3 app/views/dc_replay/_reply.html.erb
drg_blog_news_forum-0.6.1 app/views/dc_replay/_reply.html.erb