{{-- Header --}}

{{ $note->title }}

Created {{ $note->created_at->diffForHumans() }} @if($note->updated_at->ne($note->created_at)) · Updated {{ $note->updated_at->diffForHumans() }} @endif

{{-- Layout --}}
{{-- Left panel --}}
Note Details
{{ $note->title }}
@if($note->category)
{{ $note->category }}
@else
No category
@endif
{{ $note->word_count }} words · {{ strlen(strip_tags($note->content)) }} chars
Created {{ $note->created_at->format('M d, Y') }}
@if($note->updated_at->ne($note->created_at))
Modified {{ $note->updated_at->format('M d, Y') }}
@endif @if($note->date)
{{ $note->formatted_date }} @if($note->time) · {{ $note->formatted_time }} @endif
@endif {{-- Quick actions --}}
Edit Note
@csrf @method('DELETE')
{{-- Note content --}}
{{ $note->title }} @if($note->is_favorite) @endif
{{-- Category + tags --}} @if($note->category || ($note->tags && count($note->tags)))
@if($note->category) {{ $note->category }} @endif @if($note->tags) @foreach($note->tags as $tag) {{ $tag }} @endforeach @endif
@endif {{-- Content body --}}
{!! $note->content !!}
{{-- Stats bar --}}
{{ $note->word_count }} words {{ $note->created_at->format('M d, Y g:i A') }} @if($note->date) {{ $note->formatted_date }}{{ $note->time ? ' at ' . $note->formatted_time : '' }} @endif