ruby on rails - Haml - operator forces rendering outside of div indentation -
new haml, trying content 2 columns, - operator seems rendering next div. here's code:
.col-md-5 %label sort %p sorting link - content_for :filter_exclude_words .form-group = label_tag "exclude" = text_field_tag "exclude", params[:exclude], class: "form-control", placeholder: "comma separated terms..." .col-md-7 ... the resulting .form-group being rendered in next .col-md-7 div. can print simple dom nodes - content_for line reached jumps. missing?
Comments
Post a Comment