PHP Classes

File: examples/laravel/resources/views/caelrik/article.blade.php

Recommend this page to a friend!
  Packages of Boss Ibrahim Mussa   Caelrik   examples/laravel/resources/views/caelrik/article.blade.php   Download  
File: examples/laravel/resources/views/caelrik/article.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Caelrik
Build Web user interface from PHP components
Author: By
Last change:
Date: 8 days ago
Size: 674 bytes
 

 

Contents

Class file image Download
@extends('caelrik.layout')

@section('title', 'Rich text and uploads')

@section('content')
    @if ($article)
        <div class="alert alert-success" role="status">
            <p class="mb-2">Published ?{{ $article['title'] }}? with cover {{ $article['cover'] }}.</p>
            @foreach ($article['attachments'] as $name)
                <p class="mb-1 small">Attachment: {{ $name }}</p>
            @endforeach
            {{-- Sanitized by EditorHtml::sanitize(), so it is safe to output unescaped. --}}
            <div class="border rounded p-2 bg-body">{!! $article['body'] !!}</div>
        </div>
    @endif

    <x-caelrik :component="$form" />
@endsection