@extends('layouts.trading')

@section('content')
<form method="POST" action="{{ route('admin.rulebook.update') }}" class="trade-card">
    @csrf
    @method('PUT')
    <h2 class="mb-4 text-xl font-bold text-white">Default Rulebook</h2>
    <textarea name="rulebook" rows="24" class="w-full rounded-xl border-trade-border bg-trade-panel font-mono text-sm text-slate-200">{{ $rulebook }}</textarea>
    <button type="submit" class="trade-btn-primary mt-4">Save Rulebook</button>
</form>
@endsection
