@csrf @method('PUT')
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if ($errors->has('code')) {{ $errors->first('code') }} @endif