Skip to content

Instantly share code, notes, and snippets.

@gomako
Created November 11, 2015 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gomako/0a931b2eb35b36b758ae to your computer and use it in GitHub Desktop.
Save gomako/0a931b2eb35b36b758ae to your computer and use it in GitHub Desktop.
Laravel form group snippet for bootstrap
<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