From 4e4c7f48cf35a9e3f9c2a30a0ffe28e8f06b50c0 Mon Sep 17 00:00:00 2001 From: Iuri Fernandes Date: Thu, 25 Apr 2013 14:30:58 -0300 Subject: [PATCH] Fix missing = on some eruby snippets. --- snippets/eruby.snippets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/eruby.snippets b/snippets/eruby.snippets index f96ca84..592e490 100644 --- a/snippets/eruby.snippets +++ b/snippets/eruby.snippets @@ -50,15 +50,15 @@ snippet cs snippet ct <%= content_tag '${1:DIV}', ${2:content}${3:,options} %> snippet ff - <% form_for @${1:model} do |f| %> + <%= form_for @${1:model} do |f| %> ${2} <% end %> snippet ffcb <%= ${1:f}.check_box :${2:attribute} %> snippet ffe <% error_messages_for :${1:model} %> - - <% form_for @${2:model} do |f| %> + + <%= form_for @${2:model} do |f| %> ${3} <% end %> snippet ffff @@ -78,7 +78,7 @@ snippet ffta snippet fftf <%= ${1:f}.text_field :${2:attribute} %> snippet fields - <% fields_for :${1:model}, @$1 do |${2:f}| %> + <%= fields_for :${1:model}, @$1 do |${2:f}| %> ${3} <% end %> snippet i18