simple form give text and class to label boolean code example
Example 1: simple form for add id to input
<%= f.input :name, input_html: { id: "name" } %>
Example 2: remove select simple form for time
f.input :start_date, as: :time, html5: true
<%= f.input :name, input_html: { id: "name" } %>
f.input :start_date, as: :time, html5: true