additionOfMultiLang

This commit is contained in:
UronShrestha
2024-06-18 15:28:01 +05:45
parent 949fee1678
commit 28921cc745
23 changed files with 284 additions and 116 deletions

View File

@ -11,18 +11,18 @@
<div class="card">
<div class="card-header">
<h3 class="card-title">List of Users</h3>
<h3 class="card-title">{{ __('List of Users') }}</h3>
</div>
<!-- /.card-header -->
<div class="card-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Serial </th>
<th>Name</th>
<th>Email</th>
<th>Role</th>
<th>Action</th>
<th>{{ __('Serial') }} </th>
<th>{{ __('Name') }}</th>
<th>{{ __('Email') }}</th>
<th>{{ __('Role') }}</th>
<th>{{ __('Action') }}</th>
</tr>
</thead>
<tbody>
@ -37,17 +37,18 @@
<td>
<a href="{{ url('edit-user', $row->id) }}"
class="btn btn-sm btn-success">Edit</a>
class="btn btn-sm btn-success">{{ __('Edit') }}</a>
<a href="{{ url('delete-user', $row->id) }}"
class="btn btn-sm btn-danger delete-btn">Delete</a>
class="btn btn-sm btn-danger delete-btn">{{ __('Delete') }}</a>
<form action="{{ route('send-email') }}" method="POST"
style="display:inline;">
@csrf
<input type="hidden" name="name" value="{{ $row->name }}">
<input type="hidden" name="email" value="{{ $row->email }}">
<button type="submit" class="btn btn-sm btn-primary">Send
Email</button>
<button type="submit"
class="btn btn-sm btn-primary">{{ __('Send Email') }}
</button>
@ -66,11 +67,11 @@
</tbody>
<tfoot>
<tr>
<th>Serial </th>
<th>Name</th>
<th>Email</th>
<th>Role</th>
<th>Action</th>
<th>{{ __('Serial') }} </th>
<th>{{ __('Name') }}</th>
<th>{{ __('Email') }}Email</th>
<th>{{ __('Role') }}</th>
<th>{{ __('Action') }}</th>
</tr>
</tfoot>
</table>