Created
November 11, 2015 10:52
-
-
Save gomako/0a931b2eb35b36b758ae to your computer and use it in GitHub Desktop.
Laravel form group snippet for bootstrap
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"> | |
{!! Form::label('${1:name}', '${2:value}') !!} | |
{!! Form::input('${3:type}', '${1}', '${4:value}', ['class' => 'form-control', ${5:'required'}]) !!} | |
</div> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>fg</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment