add options_for_select
add method `options_for_select` from Rails.
This commit is contained in:
parent
8c1fadfe94
commit
b2a91d1ea3
@ -107,6 +107,8 @@ snippet ntc
|
|||||||
<%= number_to_currency(${1}) %>
|
<%= number_to_currency(${1}) %>
|
||||||
snippet ofcfs
|
snippet ofcfs
|
||||||
<%= options_from_collection_for_select ${1:collection}, ${2:value_method}, ${3:text_method}, ${0:selected_value} %>
|
<%= options_from_collection_for_select ${1:collection}, ${2:value_method}, ${3:text_method}, ${0:selected_value} %>
|
||||||
|
snippet ofs
|
||||||
|
<%= options_for_select ${1:collection}, ${2:value_method} %>
|
||||||
snippet rf
|
snippet rf
|
||||||
<%= render :file => "${1:file}"${0} %>
|
<%= render :file => "${1:file}"${0} %>
|
||||||
snippet rt
|
snippet rt
|
||||||
|
Loading…
Reference in New Issue
Block a user