Merge pull request #251 from babybeasimple/master
add number_to_currency helper snippet
This commit is contained in:
commit
f57162262b
@ -103,6 +103,8 @@ snippet lipp
|
||||
<%= link_to "${1:Link text...}", ${2:model}s_path %>
|
||||
snippet lt
|
||||
<%= link_to "${1:name}", ${2:dest} %>
|
||||
snippet ntc
|
||||
<%= number_to_currency(${1}) %>
|
||||
snippet ofcfs
|
||||
<%= options_from_collection_for_select ${1:collection}, ${2:value_method}, ${3:text_method}, ${4:selected_value} %>
|
||||
snippet rf
|
||||
|
@ -27,4 +27,5 @@ snippet ife
|
||||
snippet ifp
|
||||
- if ${1:condition}.presence?
|
||||
${2}
|
||||
|
||||
snippet ntc
|
||||
= number_to_currency(${1})
|
||||
|
Loading…
x
Reference in New Issue
Block a user