Merge pull request #197 from iurifq/master
Fix missing = on some eruby snippets
This commit is contained in:
commit
1a85c963bf
@ -50,15 +50,15 @@ snippet cs
|
|||||||
snippet ct
|
snippet ct
|
||||||
<%= content_tag '${1:DIV}', ${2:content}${3:,options} %>
|
<%= content_tag '${1:DIV}', ${2:content}${3:,options} %>
|
||||||
snippet ff
|
snippet ff
|
||||||
<% form_for @${1:model} do |f| %>
|
<%= form_for @${1:model} do |f| %>
|
||||||
${2}
|
${2}
|
||||||
<% end %>
|
<% end %>
|
||||||
snippet ffcb
|
snippet ffcb
|
||||||
<%= ${1:f}.check_box :${2:attribute} %>
|
<%= ${1:f}.check_box :${2:attribute} %>
|
||||||
snippet ffe
|
snippet ffe
|
||||||
<% error_messages_for :${1:model} %>
|
<% error_messages_for :${1:model} %>
|
||||||
|
|
||||||
<% form_for @${2:model} do |f| %>
|
<%= form_for @${2:model} do |f| %>
|
||||||
${3}
|
${3}
|
||||||
<% end %>
|
<% end %>
|
||||||
snippet ffff
|
snippet ffff
|
||||||
@ -78,7 +78,7 @@ snippet ffta
|
|||||||
snippet fftf
|
snippet fftf
|
||||||
<%= ${1:f}.text_field :${2:attribute} %>
|
<%= ${1:f}.text_field :${2:attribute} %>
|
||||||
snippet fields
|
snippet fields
|
||||||
<% fields_for :${1:model}, @$1 do |${2:f}| %>
|
<%= fields_for :${1:model}, @$1 do |${2:f}| %>
|
||||||
${3}
|
${3}
|
||||||
<% end %>
|
<% end %>
|
||||||
snippet i18
|
snippet i18
|
||||||
|
Loading…
x
Reference in New Issue
Block a user