Styling rails elements

I'm having some trouble with styling my views.

Here is a particular snippet that I think illustrates well:

<p><%= @tour_request.booked_datetime ? "<strong>Confirmed For:</
<span class="red">#{@tour_request.booked_datetime_string}</span>
":"<strong>Date and time requested:</strong>
#{@tour_request.daterequested} | #{@tour_request.preferredtime_string}
<strong>Alternative date and time requested:</strong>

That will prevent the page from loading, showing a custom error

At a basic level that code boils down to


which isn't syntactically correct (quotes in strings need to be escaped)