File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 11@extends('{{layout}}')
22
33@section('template_title')
4- Create {{modelTitle}}
4+ {{ __(' Create') }} {{modelTitle}}
55@endsection
66
77@section('content')
1313
1414 <div class="card card-default">
1515 <div class="card-header">
16- <span class="card-title">Create {{modelTitle}}</span>
16+ <span class="card-title">{{ __(' Create') }} {{modelTitle}}</span>
1717 </div>
1818 <div class="card-body">
1919 <form method="POST" action="{{ route('{{modelRoute}}.store') }}" role="form" enctype="multipart/form-data">
Original file line number Diff line number Diff line change 11@extends('{{layout}}')
22
33@section('template_title')
4- Update {{modelTitle}}
4+ {{ __(' Update') }} {{modelTitle}}
55@endsection
66
77@section('content')
1313
1414 <div class="card card-default">
1515 <div class="card-header">
16- <span class="card-title">Update {{modelTitle}}</span>
16+ <span class="card-title">{{ __(' Update') }} {{modelTitle}}</span>
1717 </div>
1818 <div class="card-body">
1919 <form method="POST" action="{{ route('{{modelRoute}}.update', ${{modelNameLowerCase}}->id) }}" role="form" enctype="multipart/form-data">
Original file line number Diff line number Diff line change 33 {{form}}
44 </div>
55 <div class="box-footer mt20">
6- <button type="submit" class="btn btn-primary">Submit</button>
6+ <button type="submit" class="btn btn-primary">{{ __(' Submit') }} </button>
77 </div>
88</div>
Original file line number Diff line number Diff line change 4646 {{tableBody}}
4747 <td>
4848 <form action="{{ route('{{modelRoute}}.destroy',${{modelNameLowerCase}}->id) }}" method="POST">
49- <a class="btn btn-sm btn-primary " href="{{ route('{{modelRoute}}.show',${{modelNameLowerCase}}->id) }}"><i class="fa fa-fw fa-eye"></i> Show</a>
50- <a class="btn btn-sm btn-success" href="{{ route('{{modelRoute}}.edit',${{modelNameLowerCase}}->id) }}"><i class="fa fa-fw fa-edit"></i> Edit</a>
49+ <a class="btn btn-sm btn-primary " href="{{ route('{{modelRoute}}.show',${{modelNameLowerCase}}->id) }}"><i class="fa fa-fw fa-eye"></i> {{ __(' Show') }} </a>
50+ <a class="btn btn-sm btn-success" href="{{ route('{{modelRoute}}.edit',${{modelNameLowerCase}}->id) }}"><i class="fa fa-fw fa-edit"></i> {{ __(' Edit') }} </a>
5151 @csrf
5252 @method('DELETE')
53- <button type="submit" class="btn btn-danger btn-sm"><i class="fa fa-fw fa-trash"></i> Delete</button>
53+ <button type="submit" class="btn btn-danger btn-sm"><i class="fa fa-fw fa-trash"></i> {{ __(' Delete') }} </button>
5454 </form>
5555 </td>
5656 </tr>
Original file line number Diff line number Diff line change 11@extends('{{layout}}')
22
33@section('template_title')
4- {{ ${{modelNameLowerCase}}->name ?? 'Show {{modelTitle}}' }}
4+ {{ ${{modelNameLowerCase}}->name ?? "{{ __( 'Show') {{modelTitle}}" }}
55@endsection
66
77@section('content')
1111 <div class="card">
1212 <div class="card-header">
1313 <div class="float-left">
14- <span class="card-title">Show {{modelTitle}}</span>
14+ <span class="card-title">{{ __(' Show') }} {{modelTitle}}</span>
1515 </div>
1616 <div class="float-right">
17- <a class="btn btn-primary" href="{{ route('{{modelRoute}}.index') }}"> Back</a>
17+ <a class="btn btn-primary" href="{{ route('{{modelRoute}}.index') }}"> {{ __(' Back') }} </a>
1818 </div>
1919 </div>
2020
You can’t perform that action at this time.
0 commit comments