So by default RoR has Form Helpers that let you render form fields easily eg
<% form_for @article do |f| %>
<%= f.text_field :name %>
<% end %>
Awesome but let's say i want to render all my forms in a different way let's say i want to add different things
- Bootstrap classes to fields
form-control - Red asterisk next to the label if it's required.
data-toggle="validator"
Just to name a few, What would be the best way i can achieve these?