Merge pull request #218 from babybeasimple/master
fix haml render snippets
This commit is contained in:
commit
2e0807add6
@ -11,10 +11,12 @@ snippet ul
|
||||
%li
|
||||
${1:item}
|
||||
%li
|
||||
snippet =rp
|
||||
= render :partial => '${1:partial}'
|
||||
snippet =rpl
|
||||
= render :partial => '${1:partial}', :locals => {}
|
||||
snippet =rpc
|
||||
= render :partial => '${1:partial}', :collection => @$1
|
||||
snippet rp
|
||||
= render :partial => "${1:item}"
|
||||
snippet rpc
|
||||
= render :partial => "${1:item}", :collection => ${2:@$1s}
|
||||
snippet rpl
|
||||
= render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}
|
||||
snippet rpo
|
||||
= render :partial => "${1:item}", :object => ${2:@$1}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user