Skip to content

Instantly share code, notes, and snippets.

@albertbaldi
Created October 5, 2015 13:41
Show Gist options
  • Save albertbaldi/e3fbd31ad01b2cd6288d to your computer and use it in GitHub Desktop.
Save albertbaldi/e3fbd31ad01b2cd6288d to your computer and use it in GitHub Desktop.
SublimeText 2 snippet: Blade form open
<snippet>
<content>
<![CDATA[
{!! Form::open(['route' => '${1}']) !!}
${3}
{!! Form::submit('${2:Gravar}', ['class' => 'btn btn-block btn-primary']) !!}
{!! Form::close() !!}
]]>
</content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>formopen</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