I can't figure out the syntax to embed html inside my erb pe field. This is what I'm trying to do ( and it works when I write it this way.
<% if weekday == "Monday" %>
<b> <%= 'Mondays' %> </b>
<% else %>
<%= 'Mondays' %>
<% end %>
But I'm trying to get this to work but can't figure out the syntax. I'm getting a syntax error due to the html
<%= weekday == "Monday"? <b>'Mondays'</b> : 'Mondays' %>
Any idea? THank you