1
A
回答
2
我一直在尋找的答案是這樣的:
%label.wide{:for => "tos_confirmation"}
I agree to the
%a{:href => "/tos"} Terms of Service
and
= succeed "." do
%a{:href => "/privacy_policy"} Privacy Policy
我唯一缺少的部分是「員工」的一部分,這是不是太重要。
2
爲了幫助所有人,請查看這個html to haml轉換工具http://html2haml.heroku.com/ – rapidror 2012-01-18 03:07:30