%div
  %div= render :partial => 'votes/vote'
  %h= @idea.rating
  %h2= h @idea.title
  %p=    @idea.description
  %div
    %h5 Tags
    = @idea.tags.map { |tag| link_to h(tag.name), search_ideas_path(:search => ['tag', tag.name]), :method => :post }.join(', ')
  %div
    %h3 Comments
    %div= render :partial => 'comments/comment', :collection => @comments, :controller => 'comments'
    %div
      - if user_signed_in?
        %h4 Comment on this idea
        %div= render :partial => 'comments/new'

%div
  %div= render :partial => 'votes/vote'
  %h= @idea.rating
  %h2= h @idea.title
  %p=    @idea.description
  %div
    %h5 Tags
    - @idea.tags.each do |tag|
      = render :partial => 'tags/tag', :locals => { :tag => tag }
  %div
    %h3 Comments
    %div= render :partial => 'comments/comment', :collection => @comments, :controller => 'comments'
    %div
      - if user_signed_in?
        %h4 Comment on this idea
        %div= render :partial => 'comments/new'

Fix tag link rendering in Idea views
Fix tag link rendering in Idea views

HAML/Ruby were having issues correctly rendering the links with the old
syntax. Breaking up the statement into a Ruby line '-' and a HAML line
'=' fixes the issue and links should render correctly.
