Skip to content
Browse files

Merge pull request #189 from leobetosouza/patch-4

improvements for form family snippets
  • Loading branch information...
2 parents 98e2f23 + b34a040 commit e164944c34afe5f22dc179f6e6e4b7c54906fb4d @sergeche sergeche committed
Showing with 13 additions and 0 deletions.
  1. +13 −0 snippets.json
View
13 snippets.json
@@ -713,6 +713,8 @@
"isindex": "<isindex/>",
"input:reset": "input:button[type=reset]",
"select": "<select name=\"\" id=\"\">",
+ "select:disabled": "select[disabled]",
+ "select:d": "select[disabled]",
"option": "<option value=\"\">",
"textarea": "<textarea name=\"\" id=\"\" cols=\"${1:30}\" rows=\"${2:10}\">",
"marquee": "<marquee behavior=\"\" direction=\"\">",
@@ -725,6 +727,14 @@
"html:xml": "<html xmlns=\"http://www.w3.org/1999/xhtml\">",
"keygen": "<keygen/>",
"command": "<command/>",
+ "button:submit" : "button[type=submit]",
+ "button:s" : "button[type=submit]",
+ "button:reset" : "button[type=reset]",
+ "button:r" : "button[type=reset]",
+ "button:disabled" : "button[disabled]",
+ "button:d" : "button[disabled]",
+ "fieldset:disabled" : "fieldset[disabled]",
+ "fieldset:d" : "fieldset[disabled]",
"bq": "blockquote",
"acr": "acronym",
@@ -737,10 +747,12 @@
"cap": "caption",
"colg": "colgroup",
"fst": "fieldset",
+ "fst:d": "fieldset[disabled]",
"btn": "button",
"btn:b": "button[type=button]",
"btn:r": "button[type=reset]",
"btn:s": "button[type=submit]",
+ "btn:d": "button[disabled]",
"optg": "optgroup",
"opt": "option",
"tarea": "textarea",
@@ -754,6 +766,7 @@
"str": "strong",
"prog": "progress",
"fset": "fieldset",
+ "fset:d": "fieldset[disabled]",
"datag": "datagrid",
"datal": "datalist",
"kg": "keygen",

0 comments on commit e164944

Please sign in to comment.
Something went wrong with that request. Please try again.