Add link to flag question in question index, don't show the flag link when the user...
[shapado:shapado.git] / app / views / flags / new.html.haml
1
2
3 = render "flags/#{@resource.class.to_s.tableize.singularize}", {:resource => @resource}
4
5 = render :partial => "flags/form", :locals => {:flag => @flag, :source => @source, :flaggeable => @resource, :form_id => "question_flag_form" }