2013-04-19 4 views

답변

0

내부 코드 내부에 링크 코드를 넣으므로 안에 렌더링됩니다.

코드에서 내부 div 사이의 코드 블록은 내부 렌더링 링크를 만듭니다. 밖에서 가져와야합니다.

content_tag :div, class: icon, style: 'display:inline;' do 
    the link here should be outside 
end