config/sublime/Packages/Rails/form_for-with-errors.sublime-snippet
2012-08-01 21:04:05 -07:00

10 lines
428 B
XML

<snippet>
<content><![CDATA[${TM_RAILS_TEMPLATE_START_RUBY_EXPR}error_messages_for :${1:model}${TM_RAILS_TEMPLATE_END_RUBY_EXPR}
${TM_RAILS_TEMPLATE_START_RUBY_INLINE}form_for @${2:$1} do |f|${TM_RAILS_TEMPLATE_END_RUBY_INLINE}
$0
${TM_RAILS_TEMPLATE_END_RUBY_BLOCK}]]></content>
<tabTrigger>ffe</tabTrigger>
<scope>text.html.ruby, text.haml</scope>
<description>form_for with errors</description>
</snippet>