remap haml triggers: mail_to = mt/mts, link_to = lt
This commit is contained in:
parent
85a4bc5fc1
commit
790355c688
@ -19,12 +19,12 @@ snippet rpl
|
|||||||
= render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}
|
= render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}
|
||||||
snippet rpo
|
snippet rpo
|
||||||
= render :partial => "${1:item}", :object => ${2:@$1}
|
= render :partial => "${1:item}", :object => ${2:@$1}
|
||||||
snippet l link_to
|
snippet lt
|
||||||
= link_to ${1:name}, ${2:url}
|
= link_to ${1:name}, ${2:dest}
|
||||||
snippet m mail_to
|
snippet mt
|
||||||
= mail_to ${1:email_address}, ${2:name}
|
= mail_to ${1:email_address}, ${2:name}
|
||||||
snippet m mail_to subject body
|
snippet mts
|
||||||
= mail_to ${1:email_address}, ${2:name}, :subject => ${3:subject}, :body => ${4:body}
|
= mail_to ${1:email_address}, ${2:name}, :subject => ${3}, :body => ${4}
|
||||||
snippet ife
|
snippet ife
|
||||||
- if ${1:condition}
|
- if ${1:condition}
|
||||||
${2}
|
${2}
|
||||||
|
Loading…
Reference in New Issue
Block a user