html form with id code example Example: simple form for add id to input <%= f.input :name, input_html: { id: "name" } %>