Haml can render
%input{:type=>"text"}
as
<input type="text">
Wonder what it should be in haml so it's rendered in html as
<input type="text" required>
Thanks