@extends('layouts.app') @section('title', $article?->exists ? 'Edit article' : 'New article') @section('content')

{{ $article?->exists ? 'Edit article' : 'New article' }}

A published, non-internal article is counted as a view each time it is opened.

Back
@csrf @if ($article?->exists) @method('PUT') @endif

Article

@error('title'){{ $message }}@enderror
@foreach (['troubleshooting', 'billing', 'installation', 'router-setup', 'account', 'coverage', 'internal-runbook'] as $c) @endforeach
Internal articles are never shown to customers and never counted as views.
Comma separated. Stored as a list.
@if ($article?->exists)
Articles are addressed by slug — changing it changes the URL.
@endif

Body

@error('body'){{ $message }}@enderror
Cancel
@endsection