simple_form select code example
Example 1: simple form for add id to input
<%= f.input :name, input_html: { id: "name" } %>
Example 2: simple form label
<%= f.input :source_type, :label => "Label Answer" %>
<%= f.input :name, input_html: { id: "name" } %>
<%= f.input :source_type, :label => "Label Answer" %>