Sha256: bebd70815e77eb98cba21cbdd16bf288e188ba767a3e3c691d4cf0fa01a38ae3
Contents?: true
Size: 948 Bytes
Versions: 1
Compression:
Stored size: 948 Bytes
Contents
<%= breadcrumb_for(@topic) %> <%= div_for(@topic) do %> <h2><%= t('.topic') %>: <%= @topic.title %></h2> <ul class="topic_tools"> <% if formol_authorized?(current_formol_user, :edit_topic, @topic) %> <li class="edit"><%= link_to t('.edit'), edit_forum_topic_path(@forum, @topic) %></li> <% end %> <% if formol_authorized?(current_formol_user, :subscribe_topic, @topic) %> <li class="subscribe"><%= link_to_subscription(@topic, current_formol_user) %></li> <% end %> <% if formol_authorized?(current_formol_user, :create_post, @topic) %> <li class="new_post"><%= link_to t('.new_post'), new_topic_post_path(@topic) %></li> <% end %> </ul> <% if @topic.poll %> <%= render @topic.poll, :topic => @topic %> <% end %> <%= render 'formol/posts/list', :topic => @topic, :posts => @posts %> <%= will_paginate @posts, :renderer => Formol::WillPaginate::ListLinkRenderer %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formol-0.0.4 | app/views/formol/topics/show.html.erb |