@extends('layouts.app') @push('style') @endpush @section('content') @if (session('message'))
@endif @if (session('error'))
@endif

{{ __('applabels.User') }}

required
required

authorized ? 1 : 0 }} {{ $user->authorized ? 'checked' : '' }} >
required
@foreach($socialMedia as $media )
{{ $media->name }}
users_tokens->where('pages_id', Session::get('pageid')) as $usertoken) {{ ($usertoken->social_media_id == $media->id AND $usertoken->type == 'page') ? 'checked' : '' }} @endforeach value="{{ $media->id }}" />
{{ __('applabels.Token') }} users_tokens->where('pages_id', Session::get('pageid')) as $usertoken) {{ ($usertoken->social_media_id == $media->id AND $usertoken->type == 'page') ? 'value='.$usertoken->access_token : '' }} @endforeach />
@endforeach

@push('scripts') @endpush @endsection