20 lines
800 B
PHP
20 lines
800 B
PHP
<div class="container col-md-5">
|
|
<div class="row justify-content-center">
|
|
<div class="card mt-4">
|
|
<div class="card-body">
|
|
<form action="{{ $route }}" method="POST">
|
|
@csrf
|
|
@method($method)
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Название:</label>
|
|
<input type="text" id="name" name="name" class="form-control" value="{{ isset($subject) ? $subject->name : '' }}" required>
|
|
</div>
|
|
<div>
|
|
<button type="submit" class="btn btn-success">Подтвердить</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|