Skip to content

Instantly share code, notes, and snippets.

@albertbaldi
Created October 5, 2015 13:33
Show Gist options
  • Save albertbaldi/63c21fee052e3a0af120 to your computer and use it in GitHub Desktop.
Save albertbaldi/63c21fee052e3a0af120 to your computer and use it in GitHub Desktop.
SublimeText 2 snippet: Blade form-group
<snippet>
<content>
<![CDATA[
<div class="form-group">
{!! Form::label('${1}', '${2}', ['class' => 'form-label']) !!}
{!! Form::text('${1}', null, ['class' => 'form-control', 'id' => '${1}']) !!}
</div>
]]>
</content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>formi</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