Created
June 19, 2015 05:26
-
-
Save iflamed/c0933cd310b6eba9800b to your computer and use it in GitHub Desktop.
Bootstrap form horizontal group snippet and inline or normal group snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<div class="form-group"> | |
<label for="${1:eleid}">${2:Title}</label> | |
<input type="text" class="form-control" name="${1:eleid}" id="${1:eleid}" placeholder="${2:Title}"> | |
</div> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>bs3-form:group</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.html,source.php</scope> --> | |
</snippet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<div class="form-group"> | |
<label for="${1:handler}" class="col-sm-2 control-label">${2:Title}</label> | |
<div class="col-sm-10"> | |
<input type="text" name="${1:handler}" id="${1:handler}" class="form-control" required="required"> | |
</div> | |
</div> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>bs3-form:hgroup</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.html,source.php</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment