Delete a minus sign from eruby tags
We are no longer need it since Rails 3.
This commit is contained in:
parent
99f89646f5
commit
d23850bca8
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
# Rails *****************************
|
# Rails *****************************
|
||||||
snippet rc
|
snippet rc
|
||||||
<% ${1} -%>
|
<% ${1} %>
|
||||||
snippet rce
|
snippet rce
|
||||||
<%= ${1} %>${2}
|
<%= ${1} %>${2}
|
||||||
snippet end
|
snippet end
|
||||||
<% end -%>${1}
|
<% end %>${1}
|
||||||
snippet for
|
snippet for
|
||||||
<% for ${2:item} in ${1} %>
|
<% for ${2:item} in ${1} %>
|
||||||
${3}
|
${3}
|
||||||
@ -40,19 +40,19 @@ snippet conf
|
|||||||
snippet cs
|
snippet cs
|
||||||
<%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %>
|
<%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %>
|
||||||
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
|
||||||
<%= ${1:f}.file_field :${2:attribute} %>
|
<%= ${1:f}.file_field :${2:attribute} %>
|
||||||
snippet ffhf
|
snippet ffhf
|
||||||
@ -70,13 +70,13 @@ 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 ff
|
snippet ff
|
||||||
<%= form_for @${1:model} do |f| -%>
|
<%= form_for @${1:model} do |f| %>
|
||||||
${2}
|
${2}
|
||||||
<% end -%>
|
<% end %>
|
||||||
snippet i18
|
snippet i18
|
||||||
I18n.t('${1:type.key}')${2}
|
I18n.t('${1:type.key}')${2}
|
||||||
snippet it
|
snippet it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user