Answer the question
In order to leave comments, you need to log in
Is it possible to make helper wraper duplicate content?
module CategoriesHelper
def wrap_page_of_category(&block)
content_tag :div, class: "container-fluid" do
content_tag :div, class: "row" do
content_tag :div, class: "page-of-categories offset-ms-1 col-ms-7 col-t-8" do
content_tag :div, class: "ramka" do
yield
end
end
end
end
content_tag :div, class: "ramka" do
yield
end
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question