added haml if statements
This commit is contained in:
parent
c8783fd02f
commit
c3a924d772
@ -19,4 +19,12 @@ snippet rpl
|
||||
= render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}
|
||||
snippet rpo
|
||||
= render :partial => "${1:item}", :object => ${2:@$1}
|
||||
snippet ife
|
||||
- if ${1:condition}
|
||||
${2}
|
||||
- else
|
||||
${3}
|
||||
snippet ifp
|
||||
- if ${1:condition}.presence?
|
||||
${2}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user