Skip to content

Commit 485fa6f

Browse files
committed
Fix form model snippets
1 parent 7d4dd08 commit 485fa6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

snippets/form.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
${0:boottext}
66
77
<div class="btn-group pull-right">
8-
${5:{!! Form::reset("Reset", ['class' => 'btn btn-warning']) !!}}
8+
${5:{!! Form::reset("Reset", ['class' => 'btn btn-warning']) !!}\}
99
{!! Form::submit("${6:Add}", ['class' => 'btn btn-${7:success}']) !!}
1010
</div>
1111

snippets/formmodel.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<snippet>
22
<content><![CDATA[
3-
{!! Form::model(\$${1:model}, ['route' => ['${1:model}s.update', ${1:model}s->id}], 'method' => 'PUT']) !!}
3+
{!! Form::model(\$${1:model}, ['route' => ['${1:model}s.update', \$${1:model}s->id}], 'method' => 'PUT']) !!}
44
55
${0:boottext}
66
77
<div class="btn-group pull-right">
8-
${2:{!! Form::reset("Reset", ['class' => 'btn btn-warning']) !!}}
8+
${2:{!! Form::reset("Reset", ['class' => 'btn btn-warning']) !!\}}
99
{!! Form::submit("${3:Add}", ['class' => 'btn btn-${4:success}']) !!}
1010
</div>
1111

0 commit comments

Comments
 (0)