For me to use formtastic, it looks like I need this as my html tag:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
How do I do thsi in HAML?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The same way you add attributes to any other tag in Haml:
Haml actually has a built in helper method for these attributes, so you can just do:
which defaults to ‘en-US’ as the language, or pass the language string you want to use: