@extends('layout.app') @section('content') {{ isset($socialnetwork) ? 'Edit Social Network' : 'Create Social Network' }} @csrf @if(isset($socialnetwork)) @method('PUT') @endif Name @if($errors->has('name')) {{ $errors->first('name') }} @endif Type Select Type type : '') == 'facebook' ? 'selected' : '' }}>Facebook type : '') == 'twitter' ? 'selected' : '' }}>Twitter type : '') == 'instagram' ? 'selected' : '' }}>Instagram type : '') == 'linkedin' ? 'selected' : '' }}>LinkedIn @if($errors->has('type')) {{ $errors->first('type') }} @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