Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Feb 2, 2017
1 parent 7a07bb0 commit 10abbc4
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 25 deletions.
9 changes: 5 additions & 4 deletions src/Stubs/views/bs3/fields/fillable/default
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="form-group">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>

<div class="form-group">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>
9 changes: 5 additions & 4 deletions src/Stubs/views/bs3/fields/fillable/string
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="form-group">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>

<div class="form-group">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>
9 changes: 5 additions & 4 deletions src/Stubs/views/bs3/fields/fillable/text
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="form-group">
<label for="{{field.name}}-field">{{field.Name}}</label>
<textarea name="{{field.name}}" id="{{field.name}}-field" class="form-control" rows="3">{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}</textarea>
</div>

<div class="form-group">
<label for="{{field.name}}-field">{{field.Name}}</label>
<textarea name="{{field.name}}" id="{{field.name}}-field" class="form-control" rows="3">{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}</textarea>
</div>
9 changes: 5 additions & 4 deletions src/Stubs/views/sui2/fields/fillable/default
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="field">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>

<div class="field">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>
9 changes: 5 additions & 4 deletions src/Stubs/views/sui2/fields/fillable/string
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="field">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>

<div class="field">
<label for="{{field.name}}-field">{{field.Name}}</label>
<input class="form-control" type="text" name="{{field.name}}" id="{{field.name}}-field" value="{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}" />
</div>
9 changes: 5 additions & 4 deletions src/Stubs/views/sui2/fields/fillable/text
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="field">
<label for="{{field.name}}-field">{{field.Name}}</label>
<textarea rows="3" id="{{field.name}}-field" name="{{field.name}}">{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}</textarea>
</div>

<div class="field">
<label for="{{field.name}}-field">{{field.Name}}</label>
<textarea rows="3" id="{{field.name}}-field" name="{{field.name}}">{{ old('{{field.name}}', ${{model}}->{{field.name}} ) }}</textarea>
</div>
2 changes: 1 addition & 1 deletion src/Stubs/views/sui2/pages/create_and_edit.blade.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@include('layouts._errors')

@if(${{model}}->id)
<form action="{{ route('{{prefix}}{{models}}.update', ${{model}}->id) }}" class="ui form" rmethod="POST">
<form action="{{ route('{{prefix}}{{models}}.update', ${{model}}->id) }}" class="ui form" method="POST">
<input type="hidden" name="_method" value="PUT">
@else
<form action="{{ route('{{prefix}}{{models}}.store') }}" method="POST" class="ui form">
Expand Down

0 comments on commit 10abbc4

Please sign in to comment.