I’m trying to achieve this:
<label ...>First name<em>*</em></label>
<input ... />
with this:
<%= d.label :first_name do %>First Name<em>*</em><% end %>
<%= d.text_field :first_name, :required => "required" %>
but it’s actually producing:
First Name
<em>*</em>
<label ...>
First Name
<em>*</em>
</label>
<input .../>
How can i get the html output that i’m trying to achieve?
Try with raw