I am using devise in my application, and need to change the devise HTML into HAML. I am stuck with this statement.
<%= error_messages_for resource %>
Can anyone help me convert this to HAML?
Thanks.
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.
HAML version:
Ref: http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#inserting_ruby_
is compiled to: