I have a nav button that loads a new page (create.html.erb) through Lightbox 2.
create.html.erb is placed in a shared folder.
Everything loads fine, but the built-in ruby ββdoes not work.
<div class="addButtons"> <div id="addPromotion"> Add a Promotion <div id="promotionInfo"> <%= render 'shared/promotion_form'%> </div> </div> <div id="createBoard"> Create a Board </div> </div>
The page loads it as text instead of the actual rendering. I tried to make a link and it worked perfectly.
source share