Skip to content

Commit

Permalink
Merge pull request #189 from leobetosouza/patch-4
Browse files Browse the repository at this point in the history
improvements for form family snippets
  • Loading branch information
sergeche committed May 25, 2013
2 parents 98e2f23 + b34a040 commit e164944
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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=\"\">",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -754,6 +766,7 @@
"str": "strong",
"prog": "progress",
"fset": "fieldset",
"fset:d": "fieldset[disabled]",
"datag": "datagrid",
"datal": "datalist",
"kg": "keygen",
Expand Down

0 comments on commit e164944

Please sign in to comment.