@extends('layout.app') @section('content') {{ isset($feedentry) ? 'Edit Feed Entry' : 'Create Feed Entry' }} @csrf @if(isset($feedentry)) @method('PUT') @endif Title @if($errors->has('title')) {{ $errors->first('title') }} @endif Description {{ old('description', isset($feedentry) ? $feedentry->description : '') }} @if($errors->has('description')) {{ $errors->first('description') }} @endif Link @if($errors->has('link')) {{ $errors->first('link') }} @endif Feed Channel Select Feed Channel @foreach($feedchannels as $channel) feed_channel_id : '') == $channel->feed_channel_id ? 'selected' : '' }}> {{ $channel->name }} @endforeach @if($errors->has('feed_channel_id')) {{ $errors->first('feed_channel_id') }} @endif Status status : '') == 'active' ? 'selected' : '' }}>Active status : '') == 'inactive' ? 'selected' : '' }}>Inactive @if($errors->has('status')) {{ $errors->first('status') }} @endif @endsection