<% list_view ||= false %> <% unless list_view %> <%= javascript_include_tag 'plugins/proposals_discussion/proposals_list.js' %> <% end %> <% extend ProposalsDiscussionPlugin::TopicHelper %> <%= topic_title topic %>
<%= topic.body %>
<% unless list_view %>

<%= topic.discussion.title %>

<%= render :partial => 'content_viewer/statistics', :locals => {:holder => topic} %>
<%= tag_cloud(topic.proposal_tags, :tag, {:action => :tag, :controller => 'search'}, :max_size => 18, :min_size => 10) %>
<%= link_to url_for({:controller => 'cms', :action => 'new', :type => "ProposalsDiscussionPlugin::Proposal", :parent_id => topic.id}), :class => 'button with-text icon-add' do %> <%= _("Send your proposal") %> <% end %>
<% end %>
"> <%= render :partial => 'content_viewer/proposals_list', :locals => {:holder => topic} %>