mehdee81 3 گزارش دادن ارسال شده در بهمن 99 <form action="{{ route('store') }}" method="post" enctype="multipart/form-data" style="padding:30px;border: 1px solid;border-radius:10px"> @csrf <div class="form-group"> <label for="name">Full name :</label> <input type="text" name="name" value="{{ $user->name }}" class="form-control @error('name') is-invalid @enderror" readonly> @error('name') <div class="alert alert-danger">{{ $message }}</div> @enderror </div> <div class="form-group"> <label for="creator_id">Creator-id:</label> <input type="text" name="creator_id" value="{{ $user->id }}" class="form-control @error('creator_id') is-invalid @enderror" readonly> @error('creator_id') <div class="alert alert-danger">{{ $message }}</div> @enderror </div> <div class="form-group"> <label for="title">Title :</label> <input type="text" name="title" value="{{ old('title') }}" class="form-control @error('title') is-invalid @enderror"> @error('title') <div class="alert alert-danger">{{ $message }}</div> @enderror </div> <div class="form-group"> <label for="text">Text of your article :</label> <textarea id="textarea" name="text" placeholder="Enter your text" class="form-control @error('text') is-invalid @enderror">{{ old('text') }}</textarea> @error('text') <div class="alert alert-danger">{{ $message }}</div> @enderror </div> <div class="form-group"> {!! htmlFormSnippet() !!} </div> <div class="form-group"> <button type="submit" class="btn btn-success">submit</button> </div> </form> نقل قول Share this post Link to post Share on other sites