@extends('layout.app') @section('content') {{ isset($socialchannel) ? 'Editar canales social' : 'Crear canales social' }} @csrf @if (isset($socialchannel)) @method('PUT') @endif @if (session('success')) {{ session('success') }} @endif @if (session('error')) {{ session('error') }} @endif Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Social Network Select Social Network @foreach ($socialnetworks as $network) social_network_id : '') == $network->social_network_id ? 'selected' : '' }}> {{ $network->name }} @endforeach @if ($errors->has('social_network_id')) {{ $errors->first('social_network_id') }} @endif Profile id @if ($errors->has('profile_id')) {{ $errors->first('profile_id') }} @endif Access token @if ($errors->has('access_token')) {{ $errors->first('access_token') }} @endif Status status : '') == 'active' ? 'selected' : '' }}> Active status : '') == 'inactive' ? 'selected' : '' }}> Inactive @if ($errors->has('status')) {{ $errors->first('status') }} @endif @endsection