26 lines
374 B
Plaintext
26 lines
374 B
Plaintext
priority -50
|
|
|
|
extends html
|
|
|
|
snippet % "<% %>" w
|
|
<% $0 %>
|
|
endsnippet
|
|
|
|
snippet = "<%= %>" w
|
|
<%= $0 %>
|
|
endsnippet
|
|
|
|
snippet end "<% end %>" w
|
|
<% end %>
|
|
endsnippet
|
|
|
|
snippet ft "form_tag" w
|
|
<%= form_tag(${1:"${2:/users}"}, method: ${3::post}) %>
|
|
$0
|
|
</form>
|
|
endsnippet
|
|
|
|
snippet lin "link" w
|
|
<%= link ${1:"${2:Submit}"}, to: ${3:"${4:/users}"}, method: ${5::delete}) %>
|
|
endsnippet
|