Haml的超链接标签标签内
问题描述:
答
我一直在寻找的答案是这样的:
%label.wide{:for => "tos_confirmation"}
I agree to the
%a{:href => "/tos"} Terms of Service
and
= succeed "." do
%a{:href => "/privacy_policy"} Privacy Policy
我唯一缺少的部分是“员工”的一部分,这是不是太重要。
为了帮助所有人,请查看这个html to haml转换工具http://html2haml.heroku.com/ – rapidror 2012-01-18 03:07:30