<%= csrf_meta_tag %> <%= favicon %> <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2','application','prettify', 'nyan', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_include_tag('jquery-1.8.3-ui-1.9.2-ujs-2.0.3', 'application', 'jquery.colorbox-min') %> <%= import_ke(enable_at: false, prettify: true, init_activity: false) %> <%= heads_for_theme %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%> <%= stylesheet_link_tag 'css/common','css/structure','css/public', :media => 'all'%>
» 贴吧 » <%= truncate(@forum.name,:lenght=>32)%> <%if @memo %> » <%= @memo.subject%><% end %>
<%= link_to image_tag(url_to_avatar(@forum.creator),:width=>75,:height => 75,:alt=>'贴吧图像' ),user_path( @forum.creator) %>
<%= @forum.name%>
<%= @forum.description.html_safe%> <%if @forum.creator.id == User.current.id%> <%= image_tag('signature_edit.png',{:width=>12,:height=>12})%> <%end%>
<%= render :partial=>'forums/forum_tag_list',:locals=>{:forum=>@forum}%>
<% if(@forum.creator.id == User.current.id)%> + 添加标签 <% end %>
<%if @forum.creator.id == User.current.id%> 编辑贴吧 删除贴吧 <% end %>
<%= link_to image_tag(url_to_avatar(User.current),:width=>50,:height => 50,:alt=>'贴吧图像' ),user_path( User.current) %>
我在贴吧
<%= yield %> <%#= call_hook :view_layouts_base_content %>
<%= render :partial => 'layouts/footer' %>
<%#= call_hook :view_layouts_base_body_bottom %>