You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
744 B
28 lines
744 B
@extends('adjuncts')
|
|
|
|
@section('main')
|
|
<div class="row">
|
|
<div class="col-sm-8 offset-sm-2">
|
|
<h1 class="display-3">Add an Adjunct</h1>
|
|
<div>
|
|
@if ($errors->any())
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div><br />
|
|
@endif
|
|
<form method="post" action="{{ route('adjuncts.store') }}">
|
|
@csrf
|
|
<div class="form-group">
|
|
<label for="">Name</label>
|
|
<input type="text" class="form-control" name="name">
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Add Adjunct</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|