# frozen_string_literal: true module El # represent the input tag class Input < Element def initialize(type: 'text') super('input', closing_tag: false) add_attribute(:type, type) end end end