<%%#= f.label :example, 'Example', :class => :label %> <%%#= f.text_field :example, :class => 'text_field' %> Ex: a simple text