mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 18:04:18 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: vao
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: validates_acceptance_of
|
||||
## condition: "source.ruby.rails"
|
||||
# --
|
||||
validates_acceptance_of :${1:terms}${2:${3:, :accept => "${4:1}"}${5:, :message => "${6:You must accept the terms of service}"}}
|
||||
Reference in New Issue
Block a user