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 1
1
@extends('{{layout}}')
2
2
3
3
@section('template_title')
4
- Create {{modelTitle}}
4
+ {{ __(' Create') }} {{modelTitle}}
5
5
@endsection
6
6
7
7
@section('content')
13
13
14
14
<div class="card card-default">
15
15
<div class="card-header">
16
- <span class="card-title">Create {{modelTitle}}</span>
16
+ <span class="card-title">{{ __(' Create') }} {{modelTitle}}</span>
17
17
</div>
18
18
<div class="card-body">
19
19
<form method="POST" action="{{ route('{{modelRoute}}.store') }}" role="form" enctype="multipart/form-data">
Original file line number Diff line number Diff line change 1
1
@extends('{{layout}}')
2
2
3
3
@section('template_title')
4
- Update {{modelTitle}}
4
+ {{ __(' Update') }} {{modelTitle}}
5
5
@endsection
6
6
7
7
@section('content')
13
13
14
14
<div class="card card-default">
15
15
<div class="card-header">
16
- <span class="card-title">Update {{modelTitle}}</span>
16
+ <span class="card-title">{{ __(' Update') }} {{modelTitle}}</span>
17
17
</div>
18
18
<div class="card-body">
19
19
<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 3
3
{{form}}
4
4
</div>
5
5
<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>
7
7
</div>
8
8
</div>
Original file line number Diff line number Diff line change 46
46
{{tableBody}}
47
47
<td>
48
48
<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>
51
51
@csrf
52
52
@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>
54
54
</form>
55
55
</td>
56
56
</tr>
Original file line number Diff line number Diff line change 1
1
@extends('{{layout}}')
2
2
3
3
@section('template_title')
4
- {{ ${{modelNameLowerCase}}->name ?? 'Show {{modelTitle}}' }}
4
+ {{ ${{modelNameLowerCase}}->name ?? "{{ __( 'Show') {{modelTitle}}" }}
5
5
@endsection
6
6
7
7
@section('content')
11
11
<div class="card">
12
12
<div class="card-header">
13
13
<div class="float-left">
14
- <span class="card-title">Show {{modelTitle}}</span>
14
+ <span class="card-title">{{ __(' Show') }} {{modelTitle}}</span>
15
15
</div>
16
16
<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>
18
18
</div>
19
19
</div>
20
20
You can’t perform that action at this time.
0 commit comments