@extends('layouts.admin') @section('title', 'Pengaturan WA') @section('page-title', 'Pengaturan Pesan WhatsApp Alpha') @section('admin-content') @php $previewNamaSiswa = 'Budi Santoso'; $previewNamaOrangTua = 'Ibu Siti Rahayu'; $errorWa = $errors->first('wa_alpha_message'); $inputClass = 'w-full rounded-xl border bg-white px-3 py-2.5 text-sm shadow-sm outline-none transition placeholder:text-slate-400 focus:ring-4'; $inputClass .= $errorWa ? ' border-rose-300 focus:border-rose-400 focus:ring-rose-200' : ' border-slate-200 focus:border-brand-400 focus:ring-brand-200'; @endphp @csrf @method('PUT') Isi pesan {{ old('wa_alpha_message', $waAlphaMessage) }} Gunakan placeholder {nama_siswa} dan {nama_orang_tua}. Maksimal 1000 karakter. @if($errorWa) {{ $errorWa }} @endif Simpan perubahan Contoh: {nama_orang_tua} → {{ $previewNamaOrangTua }}, {nama_siswa} → {{ $previewNamaSiswa }} @endsection
{nama_siswa}
{nama_orang_tua}