how to take time input in html form code example Example: simple form time input <%= f.input :nap, default: Time.parse('8:00') %>