@extends('layouts.admin') @section('content')
{{ __("- Please select social symbol")}}
{{ __("#")}} | {{ __("Social Name")}} | {{ __("Social Icon")}} | {{ __("Social Url")}} | {{ __("Status")}} | {{ __("Actions")}} |
---|---|---|---|---|---|
{{ filter_var($key+1)}} | {{ filter_var($item->title)}} | {{ filter_var($item->url)}} |
@can('socialicon-edit')
{!! Form::open(['method' => 'POST', 'route' => ['social.status', $item->id]]) !!}
{!! Form::checkbox('status', 1, $item->status == 1 ? 1 : 0, ['id' => 'switch'.$item->id, 'class' => 'custom-control-input', 'onChange'=>"this.form.submit()"]) !!}
{!! Form::close() !!}
@else
@if($item->status == 1)
{{ __("Active")}}
@else
{{ __("Inactive")}}
@endif
@endcan
|