1. Rich Manalang
  2. adg-snippets-for-sublime

Commits

Rich Manalang  committed 8aeaa8a

added select

  • Participants
  • Parent commits 33f052a
  • Branches master

Comments (0)

Files changed (1)

File adgselect.sublime-snippet

View file
+<snippet>
+  <content><![CDATA[
+<div class="field-group">
+    <label for="${1:name}">${2:label}</label>
+    <select class="select" id="${1:name}" name="${1:name}"${3: title="$4"}>
+        <option>Select</option>
+        ${5:<option>Option 1</option>
+        <option>Option 2</option>
+        <optgroup label="Group 1">
+            <option>Option one</option>
+            <option>Option two</option>
+        </optgroup>
+        <option>Option 3</option>
+        <option>Option 4</option>}
+    </select>
+</div>
+]]></content>
+  <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+  <tabTrigger>adgselect</tabTrigger>
+  <!-- Optional: Set a scope to limit where the snippet will trigger -->
+  <!-- <scope>source.python</scope> -->
+</snippet>