add if/ife snippets to eruby
This commit is contained in:
parent
56fe095802
commit
057a066f9c
@ -111,3 +111,13 @@ snippet slt
|
||||
<%= stylesheet_link_tag ${1::all}, :cache => ${2:true} %>
|
||||
snippet sslt
|
||||
<%= stylesheet_link_tag "${1}" %>
|
||||
snippet if
|
||||
<% if ${1} %>
|
||||
${2}
|
||||
<% end %>
|
||||
snippet ife
|
||||
<% if ${1} %>
|
||||
${2}
|
||||
<% else %>
|
||||
${3}
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user