【发布时间】:2011-01-12 01:11:17
【问题描述】:
.section
.title
Subscription
.body
= form_tag(:action => subscribe_url, :method => :post)
= @plans.each do |p|
%tr= p[:blurb]
%tr= p[:price]
.spacer
= submit_tag( 'Subscribe', :class => 'button ok' )
%p
%br
Note: If you wish to cancel your subscription, please
-# link_to "contact Customer Support", "http://support.jobfully.com"
我们看到的错误是这样的: /home/mei/Jobfully/app/views/subscriptions/list.html.haml:21:语法错误,意外的keyword_ensure,期待$end
提取的源代码(第 21 行附近):
18: %br 19:注意:如果您想取消订阅,请 20: -# link_to "联系客户支持", "http://support.jobfully.com"
任何关于我们在此处做错的建议enter code here 将不胜感激。谢谢!
【问题讨论】:
标签: ruby-on-rails haml