mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -46,8 +46,9 @@ snippet conf
|
||||
<% content_for :${1:head} do %>
|
||||
${0}
|
||||
<% end %>
|
||||
snippet cs
|
||||
<%= collection_select <+object+>, <+method+>, <+collection+>, <+value_method+>, <+text_method+><+, <+[options]+>, <+[html_options]+>+> %>
|
||||
|
||||
snippet cs
|
||||
<%= collection_select(:${1:object}, :${2:method}, ${3:collection}, :${4:value_method}, :${5:text_method}, options = {${0:prompt: true}}) %>
|
||||
snippet ct
|
||||
<%= content_tag '${1:DIV}', ${2:content}${0:,options} %>
|
||||
snippet ff
|
||||
@ -80,6 +81,8 @@ snippet ffta
|
||||
<%= ${1:f}.text_area :${0:attribute} %>
|
||||
snippet fftf
|
||||
<%= ${1:f}.text_field :${0:attribute} %>
|
||||
snippet fcs
|
||||
<%= ${1:f}.collection_select(:${2:method}, ${3:collection}, :${4:value_method}, :${5:text_method}, options = {${0:prompt: true}}) %>
|
||||
snippet fields
|
||||
<%= fields_for :${1:model}, @$1 do |${2:f}| %>
|
||||
${0}
|
||||
|
Reference in New Issue
Block a user