- fill_head_for(@question.name + ", InDeal.Ru", @question.description, @question.name) - custom_js 'company/portfolio/comments/new', "comments_log_reg", 'redactor/redactor', 'redactor/redactor_plugin' #content .formforArticle .formQuestionRight %p Поиск самых выгодных цен на ремонт квартир = link_to 'Сравнить цены', favours_path, :target => '_blank' .clear = render '/breadcrumbs/breadcrumbs', :controller => QuestionsController, :name => @question.category.name, :path => questions_path, :second_path => questions_path(:category_id => @question.category.id) .boxTinymce .tinymce %h1= @question.name %p= @question.description .boxNameQuestion %p= @question.created_at.strftime "%d.%m.%Y" %p - if @question.user.present? Спрашивает: %span= @question.user.profile.user_name .clear .horizontal_repeat_top11 .horizontal_repeat_bottom11 .vertical_repeat_left11 .vertical_repeat_right11 .content_top_left11 .content_top_right11 .content_bottom_left11 .content_bottom_right11 - if @comments.present? %p.titleQuestion Ответы мастеров (#{@comments.count}) .clear - @comments.each do |comment| .block_answer .block_color_new %p = comment.created_at.strftime "%d.%m.%Y" %span= comment.user.profile.try(:user_name) .clear .block_answer .block_white_new %p= comment.content .block_answer - unless @comments.total_pages == 1 || @comments.total_pages == 0 .padding_1 %ul.pages %li= will_paginate @comments .clear %h5 Ответить .answer_form = render :partial => "/questions/comment_form", :locals => {:c => @comment} = render '/shared/budget_links', :resource => @category = render 'similar_questions', :question => @question .block_banners :javascript %script{:src => "http://pagead2.googlesyndication.com/pagead/show_ads.js", :type => "text/javascript"} :cdata %center{:style => "margin-right: 150px;"} :javascript %script{:src => "http://pagead2.googlesyndication.com/pagead/show_ads.js", :type => "text/javascript"} :cdata .clear .blockListTopicQuestion = render 'question_categories', :categories => @categories = link_to "Задать вопрос", new_user_question_path, :class => "buttonLink" .top_4 %p.name Статьи на эту тему - @publications.each do |publication| .oneSameArticle - link_to publication_path(publication) do = image_tag publication.picture.url, :size => '156x132' = link_to publication.name, publication_path(publication) .clear .clear