changes-2
This commit is contained in:
@@ -114,15 +114,15 @@ class="nav-link active"
|
||||
<td>{!! UTC::usertimezone($email->updated_at) !!}</td>
|
||||
<td>
|
||||
{!! Form::open(['route'=>['emails.destroy', $email->id],'method'=>'DELETE']) !!}
|
||||
<a href="{{route('emails.edit', $email->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i> Edit</a>
|
||||
<a href="{{route('emails.edit', $email->id)}}" class="btn btn-primary btn-xs"><i class="fas fa-edit"> </i>{{Lang::get('lang.edit')}}</a>
|
||||
<!-- To pop up a confirm Message -->
|
||||
|
||||
@if($default_email == $email->id)
|
||||
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
|
||||
{!! Form::button('<i class="fas fa-trash"> </i>'.Lang::get('lang.delete'),
|
||||
['class'=> 'btn btn-danger btn-xs '. $disabled])
|
||||
!!}
|
||||
@else
|
||||
{!! Form::button('<i class="fas fa-trash"> </i> Delete',
|
||||
{!! Form::button('<i class="fas fa-trash"> </i>'.Lang::get('lang.delete'),
|
||||
['type' => 'submit',
|
||||
'class'=> 'btn btn-danger btn-xs',
|
||||
'onclick'=>'return confirm("Are you sure?")'])
|
||||
|
||||
Reference in New Issue
Block a user