<x-layouts.dashboard title="Messages">
    <form class="form-card" method="post" action="{{ route('designer.messages.store') }}">@csrf
        <div class="field"><label>Subject</label><input name="subject" required></div>
        <div class="field"><label>Message</label><textarea name="body" required></textarea></div>
        <p><button class="btn">Send Message</button></p>
    </form>
    @include('partials.message-list', ['messages' => $messages])
</x-layouts.dashboard>
