mirror of
https://github.com/amix/vimrc
synced 2025-07-09 10:45:00 +08:00
.
This commit is contained in:
11
sources_non_forked/vim-snippets/snippets/eelixir.snippets
Normal file → Executable file
11
sources_non_forked/vim-snippets/snippets/eelixir.snippets
Normal file → Executable file
@ -38,6 +38,17 @@ snippet ft form_tag
|
||||
<%= form_tag(${1:"/users"}, method: ${2::post}) %>
|
||||
${0}
|
||||
</form>
|
||||
|
||||
snippet sl select
|
||||
<%= select ${1:f}, :${2:field}, ${3:[{"key", "value"}]}, prompt: ${4:"Prompt"} %>
|
||||
|
||||
snippet sb submit
|
||||
<%= submit ${1:"Submit"} %>
|
||||
|
||||
snippet rb radio_button
|
||||
<%= radio_button ${1:f}, :${2:field}, ${3:"value"} %>
|
||||
|
||||
|
||||
snippet et error_tag
|
||||
<%= error_tag ${1:f}, :${2:field} %>
|
||||
snippet ti text_input
|
||||
|
Reference in New Issue
Block a user