I use rails and haml, haml-rails.
How I create hidden_field in haml?
I have field:
.field
= f.label :submit_date
= f.datetime_select :submit_date
I will hide this field. User not able to modify datetime manualy. I will store in db datetime when object was created. I have absolutely no idea how to do it. I know how to do it in erb, but i will use haml.